// // SetupEnterTriggerPopup::onEnterType from 0xa1d28c to 0xa1d35c (208 bytes) // // 4 xrefs: // > @ 0x6c6b8 // > SetupEnterTriggerPopup::init @ 0xa22c64 // > SetupEnterTriggerPopup::init @ 0xa22d44 // > @ 0x1542ad0 // // 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 12:59:38 +0000 // __int64 __fastcall SetupEnterTriggerPopup::onEnterType(SetupEnterTriggerPopup *this, cocos2d::CCObject *a2) { int v3; // w0 unsigned __int8 v4; // w1 __int64 result; // x0 unsigned int v6; // w20 bool v7; // cf unsigned int v8; // w1 if ( (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) == *((_DWORD *)this + 258) ) { *((_DWORD *)this + 258) = 0; v4 = 0; } else { v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); *((_DWORD *)this + 258) = v3; v4 = v3 == 1; } CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 127), v4); CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 128), *((_DWORD *)this + 258) == 2); result = *((_QWORD *)this + 85); if ( result ) { *(_DWORD *)(result + 1840) = *((_DWORD *)this + 258); } else { v6 = 0; while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 86)); v7 = v6 >= (unsigned int)result; v8 = v6++; if ( v7 ) break; *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v8) + 1840) = *((_DWORD *)this + 258); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source