// // SetupShakePopup::determineStartValues from 0x6295d8 to 0x6296f8 (288 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:55:11 +0000 // cocos2d::CCArray *__fastcall SetupShakePopup::determineStartValues(cocos2d::CCObject **this) { cocos2d::CCArray *result; // r0 cocos2d::CCArray *v3; // r6 float v4; // s16 unsigned int v5; // r4 int v6; // r9 int v7; // r8 int v8; // r7 float v9; // s18 float v10; // s19 float *v11; // r0 float *v12; // r3 float *v13; // r3 float *v14; // r0 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; v6 = 0; v7 = 0; v8 = 0; v9 = -99999.0; v10 = -99999.0; while ( 1 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( v5 >= (unsigned int)result ) break; v11 = (float *)cocos2d::CCArray::objectAtIndex(v3, v5); if ( !v8 ) { v12 = v11 + 318; if ( v10 == -99999.0 ) { v10 = *v12; } else if ( v10 != *v12 ) { v10 = -99999.0; v8 = 1; } } if ( !v7 ) { v13 = v11 + 324; if ( v9 == -99999.0 ) { v9 = *v13; } else if ( v9 != *v13 ) { v9 = -99999.0; v7 = 1; } } if ( !v6 ) { v14 = v11 + 325; if ( v4 == -99999.0 ) { v4 = *v14; } else if ( v4 != *v14 ) { v4 = -99999.0; v6 = 1; } } ++v5; } if ( v10 != -99999.0 ) *((float *)this + 180) = v10; if ( v9 != -99999.0 ) *((float *)this + 183) = v9; if ( v4 != -99999.0 ) *((float *)this + 186) = v4; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source