// // GJAccountSettingsLayer::onGroupFriends from 0x5d31b4 to 0x5d3222 (110 bytes) // // 1 xrefs: // > GJAccountSettingsLayer::init @ 0x5e4224 // // 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:54:06 +0000 // int __fastcall GJAccountSettingsLayer::onGroupFriends(int this, cocos2d::CCObject *a2) { _DWORD *v2; // r4 int v3; // r3 int v4; // r3 int v5; // r3 int v6; // r7 _DWORD *v7; // r2 CCMenuItemToggler **v8; // r5 CCMenuItemToggler **v9; // r4 CCMenuItemToggler *v10; // r6 CCMenuItemToggler *v11; // t1 _BOOL4 v12; // r1 v2 = (_DWORD *)this; if ( a2 ) { this = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); if ( this == 3 ) v3 = 1; else v3 = 2; v2[135] = v3; if ( this == 2 ) v4 = 2; else v4 = 1; v2[134] = v4; } v5 = v2[143]; if ( v2[135] == 1 ) v6 = 3; else v6 = v2[134]; if ( v5 ) { v7 = *(_DWORD **)(v5 + 52); if ( *v7 ) { v8 = (CCMenuItemToggler **)v7[3]; v9 = &v8[*v7] + 0x3FFFFFFF; while ( v8 <= v9 ) { v11 = *v8++; v10 = v11; if ( !v11 ) break; v12 = (*(int (__fastcall **)(CCMenuItemToggler *))(*(_DWORD *)v10 + 32))(v10) != v6; this = CCMenuItemToggler::toggle(v10, v12); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source