// // SetupTouchTogglePopup::onControlMode from 0xaa2940 to 0xaa29ec (172 bytes) // // 4 xrefs: // > @ 0xd2fd0 // > SetupTouchTogglePopup::init @ 0xaa33a8 // > SetupTouchTogglePopup::init @ 0xaa342c // > @ 0x1546410 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:00:49 +0000 // __int64 __fastcall SetupTouchTogglePopup::onControlMode(SetupTouchTogglePopup *this, cocos2d::CCObject *a2) { int v3; // w0 __int64 v4; // x2 int v5; // w1 cocos2d::CCArray *v7; // x0 unsigned int v8; // w20 bool v9; // cf unsigned int v10; // w1 v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = *((_QWORD *)this + 85); if ( v3 == *((_DWORD *)this + 259) ) v5 = 0; else v5 = v3; *((_DWORD *)this + 259) = v5; if ( v4 ) { *(_DWORD *)(v4 + 1644) = v5; v5 = *((_DWORD *)this + 259); } else { v7 = *((cocos2d::CCArray **)this + 86); if ( v7 ) { v8 = 0; while ( 1 ) { v9 = v8 >= (unsigned int)cocos2d::CCArray::count(v7); v10 = v8++; if ( v9 ) break; *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v10) + 1644) = *((_DWORD *)this + 259); v7 = *((cocos2d::CCArray **)this + 86); } v5 = *((_DWORD *)this + 259); } } CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 133), v5 == 1); return CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 134), *((_DWORD *)this + 259) == 2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source