// // SetupGradientPopup::determineStartValues from 0xb30514 to 0xb30630 (284 bytes) // // 2 xrefs: // > @ 0xd2250 // > @ 0x14b7690 // // 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:01:43 +0000 // __int64 __fastcall SetupGradientPopup::determineStartValues(cocos2d::CCObject **this) { __int64 result; // x0 cocos2d::CCArray *v3; // x22 unsigned int v4; // w19 bool v5; // cf unsigned int v6; // w1 int v7; // w20 int v8; // w21 cocos2d::CCArray *i; // x0 __int64 v10; // x0 SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this); result = (__int64)*(this + 85); if ( result ) { v3 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)result); result = cocos2d::CCArray::addObject(v3, *(this + 85)); } else { v3 = *(this + 86); } if ( v3 ) { result = cocos2d::CCArray::count(v3); if ( (_DWORD)result ) { v4 = 0; v5 = (unsigned int)cocos2d::CCArray::count(v3) == 0; v6 = 0; v7 = -99999; v8 = -99999; for ( i = v3; !v5; i = v3 ) { v10 = cocos2d::CCArray::objectAtIndex(i, v6); if ( v8 == -99999 ) { v8 = *(_DWORD *)(v10 + 1844); } else if ( v8 != *(_DWORD *)(v10 + 1844) ) { v8 = -9991; } if ( v7 == -99999 ) { v7 = *(_DWORD *)(v10 + 1840); ++v4; } else { ++v4; if ( v7 != *(_DWORD *)(v10 + 1840) ) v7 = -9991; } v5 = v4 >= (unsigned int)cocos2d::CCArray::count(v3); v6 = v4; } if ( v8 != -9991 ) *((_DWORD *)this + 256) = v8; result = 4294957305LL; if ( v7 != -9991 ) *((_DWORD *)this + 260) = v7; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source