// // SetupTouchTogglePopup::onTouchMode from 0x62a690 to 0x62a70e (126 bytes) // // 0 xrefs: // // 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:55:12 +0000 // int __fastcall SetupTouchTogglePopup::onTouchMode(SetupTouchTogglePopup *this, cocos2d::CCObject *a2) { int v3; // r0 unsigned int v4; // r5 int v5; // r3 int v6; // r0 v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v4 = *((_DWORD *)this + 132); if ( v3 == 1 ) v5 = 1; else v5 = 2; if ( *((_DWORD *)this + 181) == v5 ) v5 = 0; *((_DWORD *)this + 181) = v5; if ( v4 ) { *(_DWORD *)(v4 + 1460) = v5; } else if ( *((_DWORD *)this + 133) ) { while ( v4 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 133)) ) { v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), v4++); *(_DWORD *)(v6 + 1460) = *((_DWORD *)this + 181); } } CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 183), *((_DWORD *)this + 181) == 1); return CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 184), *((_DWORD *)this + 181) == 2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source