// // EmotePickerPopup::refreshEnabled from 0x779070 to 0x779128 (184 bytes) // // 3 xrefs: // > EmotePickerPopup::textChanged @ 0x779128 // > EmotePickerPopup::init @ 0x779312 // > EmotePickerPopup::onPickEmote @ 0x7795e6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:59:22 +0000 // int __fastcall EmotePickerPopup::refreshEnabled(int this, int a2, int a3) { int v3; // r4 int v4; // r3 int v5; // r6 int *v6; // r5 int v7; // r7 unsigned int v8; // r7 int v9; // r4 int v10; // t1 cocos2d::CCArray *v11; // r0 int v12; // r0 int v13; // r1 v3 = this; v4 = *(_DWORD *)(this + 728); if ( v4 ) { this = EmotePickerPopup::canAddEmote((EmotePickerPopup *)this, a2, a3, v4); v5 = this; if ( this != *(_DWORD *)(v3 + 872) ) { *(_DWORD *)(v3 + 872) = this; this = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v3 + 728) + 244))(*(_DWORD *)(v3 + 728)); if ( this ) { this = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v3 + 728) + 244))(*(_DWORD *)(v3 + 728)); if ( **(_DWORD **)(this + 52) ) { v6 = *(int **)(*(_DWORD *)((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v3 + 728) + 244))(*(_DWORD *)(v3 + 728)) + 52) + 12); v7 = *(_DWORD *)(*(_DWORD *)((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v3 + 728) + 244))(*(_DWORD *)(v3 + 728)) + 52) + 12); this = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v3 + 728) + 244))(*(_DWORD *)(v3 + 728)); v8 = v7 + 4 * (**(_DWORD **)(this + 52) + 0x3FFFFFFF); while ( (unsigned int)v6 <= v8 ) { v10 = *v6++; v9 = v10; if ( !v10 ) break; (*(void (__fastcall **)(int, int))(*(_DWORD *)v9 + 528))(v9, v5); v11 = (cocos2d::CCArray *)(*(int (__fastcall **)(int))(*(_DWORD *)v9 + 244))(v9); v12 = cocos2d::CCArray::objectAtIndex(v11, 0); if ( v5 ) v13 = 255; else v13 = 90; this = (*(int (__fastcall **)(int, int))(*(_DWORD *)v12 + 456))(v12, v13); } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source