// // SetupOpacityPopup::determineStartValues from 0x5e92f4 to 0x5e93ee (250 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:54:21 +0000 // cocos2d::CCArray *__fastcall SetupOpacityPopup::determineStartValues(cocos2d::CCObject **this) { cocos2d::CCArray *result; // r0 cocos2d::CCArray *v3; // r6 float v4; // s16 unsigned int v5; // r5 float v6; // s17 int v7; // r0 float *v8; // r3 float *v9; // r3 cocos2d::CCObject *v10; // r2 cocos2d::CCObject *v11; // r3 result = (cocos2d::CCArray *)SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this); if ( *(this + 132) ) { v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(result); result = (cocos2d::CCArray *)cocos2d::CCArray::addObject(v3, *(this + 132)); } else { v3 = *(this + 133); } if ( v3 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( result ) { v4 = -99999.0; v5 = 0; *(this + 183) = (cocos2d::CCObject *)1065353216; *(this + 185) = (cocos2d::CCObject *)-99999; v6 = -99999.0; while ( 1 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( v5 >= (unsigned int)result ) break; v7 = cocos2d::CCArray::objectAtIndex(v3, v5); v8 = (float *)(v7 + 1272); if ( v6 == -99999.0 ) { v6 = *v8; } else if ( v6 != *v8 ) { v6 = -2.0; } v9 = (float *)(v7 + 1276); if ( v4 == -99999.0 ) { v4 = *v9; } else if ( v4 != *v9 ) { v4 = -2.0; } v10 = *(this + 185); v11 = *(cocos2d::CCObject **)(v7 + 1284); if ( v10 == (cocos2d::CCObject *)-99999 ) { *(this + 185) = v11; } else if ( v10 != v11 ) { *(this + 185) = nullptr; } ++v5; } if ( v6 >= 0.0 ) *((float *)this + 184) = v6; if ( v4 >= 0.0 ) *((float *)this + 183) = v4; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source