Skip to content
Guest Big Announcement

Hopped Disassembler + WhatsApp

Featured Replies

Hi guys, i'm creating a new tweak but i'm having a problem with enabeling Status in Whatsapp.

What is this -> "\x1B[1;31m[%s] \x1B[m\x1B[0;31m%s:%d\x1B[m \x1B[0;30;41m%s:\x1B[m %@" string ?

 

If i search for className

WAServerProperties > i get  +(bool) isStatusV3Enabled

So i set 

 

 

%hook WAServerProperties
- (bool)isStatusv3Enabled{
return TRUE;
}
%end

But it wont show it off.

Can anyone help me?

 

 

 

This is the decompiled code of the project 

int __ZL15_logosLocalInitv() {
    *(r31 + 0xfffffffffffffff0) = r29;
    *(r31 + 0x0) = r30;
    r29 = r31 + 0xfffffffffffffff0;
    r31 = r31 + 0xfffffffffffffff0 - 0x40;
    *(r29 + 0xfffffffffffffff8) = objc_getClass("WAServerProperties");
    *(r29 + 0xfffffffffffffff0) = object_getClass(*(r29 + 0xfffffffffffffff8));
    if (*(r29 + 0xfffffffffffffff0) != 0x0) {
            r0 = *(r29 + 0xfffffffffffffff0);
            r1 = @[member='selectorr](isStatusV3Enabled);
            r2 = 0x7e6c;
            r3 = 0x80a0;
            r0 = MSHookMessageEx();
    }
    else {
            r10 = r31;
            r10 = "WAServerProperties";
            *(r31 + 0x20) = [0x8098 stringWithFormat:@"logos: nil class %s", r3];
            *(r31 + 0x18) = "ERROR";
            *(r31 + 0x10) = r31 | 0x8;
            *(r31 + 0x8) = "Tweak.xm";
            r8 = "WAEnabler";
            r1 = @"\x1B[1;31m[%s] \x1B[m\x1B[0;31m%s:%d\x1B[m \x1B[0;30;41m%s:\x1B[m %@";
            r0 = r31 | 0x3;
            r0 = CFLog();
    }
    r31 = r29;
    r29 = *r31;
    r30 = *(r31 + 0x10);
    r31 = r31 + 0x10;
    return r0;

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #4d66cc}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #0012b5}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #1ab333}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d442a1}
span.s1 {color: #d442a1}
span.s2 {color: #000000}
span.s3 {color: #a6000a}
span.s4 {color: #0012b5}
span.s5 {color: #4d66cc}
span.s6 {color: #1ab333}
}
and a piclxG8Az.png

Updated by Derewith

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.