// // SetupCameraRotatePopup::determineStartValues from 0x6598e4 to 0x659a40 (348 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:32 +0000 // cocos2d::CCArray *__fastcall SetupCameraRotatePopup::determineStartValues(cocos2d::CCObject **this) { cocos2d::CCArray *result; // r0 int v3; // r3 cocos2d::CCArray *v4; // r7 float v5; // s17 unsigned int v6; // r5 int v7; // r6 int v8; // r11 int v9; // r10 int v10; // r9 float v11; // s19 float v12; // s18 int v13; // r0 float *v14; // r2 float *v15; // r2 float *v16; // r0 int v17; // [sp+4h] [bp-8h] result = (cocos2d::CCArray *)SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this); v3 = (int)*(this + 132); *(this + 182) = (cocos2d::CCObject *)-99999; *(this + 180) = (cocos2d::CCObject *)-943501440; *(this + 188) = (cocos2d::CCObject *)-943501440; *(this + 183) = (cocos2d::CCObject *)-943501440; if ( v3 ) { v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(result); result = (cocos2d::CCArray *)cocos2d::CCArray::addObject(v4, *(this + 132)); } else { v4 = *(this + 133); } if ( v4 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v4); if ( result ) { v5 = -99999.0; v6 = 0; v7 = -99999; v8 = 0; v9 = 0; v10 = 0; v17 = 0; v11 = -99999.0; v12 = -99999.0; while ( 1 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v4); if ( v6 >= (unsigned int)result ) break; v13 = cocos2d::CCArray::objectAtIndex(v4, v6); if ( !v17 ) { v14 = (float *)(v13 + 1272); if ( v12 == -99999.0 ) { v12 = *v14; } else if ( v12 != *v14 ) { v12 = -99999.0; v17 = 1; } } if ( !v10 ) { if ( v7 == -99999 ) { v7 = *(_DWORD *)(v13 + 1316); } else if ( v7 != *(_DWORD *)(v13 + 1316) ) { v7 = -99999; v10 = 1; } } if ( !v9 ) { v15 = (float *)(v13 + 1320); if ( v5 == -99999.0 ) { v5 = *v15; } else if ( v5 != *v15 ) { v5 = -99999.0; v9 = 1; } } if ( !v8 ) { v16 = (float *)(v13 + 1364); if ( v11 == -99999.0 ) { v11 = *v16; } else if ( v11 != *v16 ) { v11 = -99999.0; v8 = 1; } } ++v6; } *((float *)this + 188) = v11; if ( v12 != -99999.0 ) *((float *)this + 180) = v12; if ( v7 != -99999 ) *(this + 182) = (cocos2d::CCObject *)v7; if ( v5 != -99999.0 ) *((float *)this + 183) = v5; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source