// // GJAccountSettingsLayer::onCommentSetting from 0x5d3164 to 0x5d31b4 (80 bytes) // // 1 xrefs: // > GJAccountSettingsLayer::init @ 0x5e421c // // 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::onCommentSetting(int this, cocos2d::CCObject *a2) { int v2; // r7 int v3; // r3 _DWORD *v4; // r2 CCMenuItemToggler **v5; // r5 CCMenuItemToggler **v6; // r4 CCMenuItemToggler *v7; // r6 CCMenuItemToggler *v8; // t1 int v9; // r1 v2 = this; if ( a2 ) { this = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); *(_DWORD *)(v2 + 532) = this; } v3 = *(_DWORD *)(v2 + 568); if ( v3 ) { v4 = *(_DWORD **)(v3 + 52); if ( *v4 ) { v5 = (CCMenuItemToggler **)v4[3]; v6 = &v5[*v4] + 0x3FFFFFFF; while ( v5 <= v6 ) { v8 = *v5++; v7 = v8; if ( !v8 ) break; v9 = (*(int (__fastcall **)(CCMenuItemToggler *))(*(_DWORD *)v7 + 32))(v7) - *(_DWORD *)(v2 + 532); this = CCMenuItemToggler::toggle(v7, v9 != 0); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source