// // SetupCameraEdgePopup::onCameraEdge from 0x67ebda to 0x67ec8c (178 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:56:00 +0000 // unsigned int __fastcall SetupCameraEdgePopup::onCameraEdge(SetupCameraEdgePopup *this, cocos2d::CCObject *a2) { CCMenuItemToggler *v3; // r0 CCMenuItemToggler *v4; // r0 CCMenuItemToggler *v5; // r0 CCMenuItemToggler *v6; // r0 unsigned int result; // r0 unsigned int v8; // r5 int v9; // r0 *((_DWORD *)this + 180) = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v3 = (CCMenuItemToggler *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 181), 0); CCMenuItemToggler::toggle(v3, *((_DWORD *)this + 180) == 1); v4 = (CCMenuItemToggler *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 181), 1u); CCMenuItemToggler::toggle(v4, *((_DWORD *)this + 180) == 2); v5 = (CCMenuItemToggler *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 181), 2u); CCMenuItemToggler::toggle(v5, *((_DWORD *)this + 180) == 3); v6 = (CCMenuItemToggler *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 181), 3u); result = CCMenuItemToggler::toggle(v6, *((_DWORD *)this + 180) == 4); v8 = *((_DWORD *)this + 132); if ( v8 ) { *(_DWORD *)(v8 + 1656) = *((_DWORD *)this + 180); } else if ( *((_DWORD *)this + 133) ) { while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 133)); if ( v8 >= result ) break; v9 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), v8++); *(_DWORD *)(v9 + 1656) = *((_DWORD *)this + 180); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source