// // SetupTouchTogglePopup::determineStartValues from 0xaa2750 to 0xaa2888 (312 bytes) // // 2 xrefs: // > @ 0x41818 // > @ 0x14a2390 // // 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 // cocos2d::CCArray *__fastcall SetupTouchTogglePopup::determineStartValues(cocos2d::CCObject **this) { cocos2d::CCArray *result; // x0 cocos2d::CCArray *v3; // x21 unsigned int v4; // w20 __int64 v5; // x0 int v6; // w1 int v7; // w1 int v8; // w1 int v9; // w0 SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this); result = *(this + 85); if ( result ) { v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(result); result = (cocos2d::CCArray *)cocos2d::CCArray::addObject(v3, *(this + 85)); } else { v3 = *(this + 86); } if ( v3 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( (_DWORD)result ) { *((_DWORD *)this + 256) = -1; v4 = 0; *((_DWORD *)this + 258) = -1; *((_DWORD *)this + 259) = -1; *((_BYTE *)this + 1028) = 1; *((_BYTE *)this + 1056) = 1; result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( (_DWORD)result ) { do { v5 = cocos2d::CCArray::objectAtIndex(v3, v4); if ( !*(_BYTE *)(v5 + 1638) ) *((_BYTE *)this + 1028) = 0; if ( !*(_BYTE *)(v5 + 1648) ) *((_BYTE *)this + 1056) = 0; v6 = *((_DWORD *)this + 256); if ( v6 == -1 ) { *((_DWORD *)this + 256) = *(_DWORD *)(v5 + 1464); } else if ( v6 != *(_DWORD *)(v5 + 1464) ) { *((_DWORD *)this + 256) = 0; } v7 = *((_DWORD *)this + 258); if ( v7 == -1 ) { *((_DWORD *)this + 258) = *(_DWORD *)(v5 + 1640); } else if ( v7 != *(_DWORD *)(v5 + 1640) ) { *((_DWORD *)this + 258) = 0; } v8 = *((_DWORD *)this + 259); v9 = *(_DWORD *)(v5 + 1644); if ( v8 == -1 ) { *((_DWORD *)this + 259) = v9; ++v4; } else { if ( v8 != v9 ) *((_DWORD *)this + 259) = 0; ++v4; } result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); } while ( v4 < (unsigned int)result ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source