// // SetupCameraRotatePopup::determineStartValues from 0xaebe38 to 0xaec010 (472 bytes) // // 2 xrefs: // > @ 0x73720 // > @ 0x14ae4f0 // // 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:10 +0000 // __int64 __fastcall SetupCameraRotatePopup::determineStartValues(cocos2d::CCObject **this) { __int64 v2; // x1 __int64 result; // x0 cocos2d::CCArray *v4; // x20 float v5; // s9 float v6; // s11 unsigned int v7; // w19 float v8; // s10 int v9; // w26 int v10; // w25 int v11; // w23 int v12; // w24 int v13; // w21 __int64 v14; // x0 SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this); v2 = (__int64)*(this + 85); result = 4294867297LL; *((_DWORD *)this + 262) = -99999; *((_DWORD *)this + 258) = -943501440; *((_DWORD *)this + 272) = -943501440; *((_DWORD *)this + 263) = -943501440; if ( v2 ) { v4 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)0xFFFE7961LL); result = cocos2d::CCArray::addObject(v4, *(this + 85)); } else { v4 = *(this + 86); } if ( v4 ) { result = cocos2d::CCArray::count(v4); if ( (_DWORD)result ) { v5 = -99999.0; v6 = -99999.0; v7 = 0; v8 = -99999.0; v9 = 0; v10 = 0; v11 = 0; v12 = 0; v13 = -99999; while ( v7 < (unsigned int)cocos2d::CCArray::count(v4) ) { v14 = cocos2d::CCArray::objectAtIndex(v4, v7); if ( !v12 ) { if ( v8 == -99999.0 ) { v8 = *(float *)(v14 + 1452); } else if ( v8 != *(float *)(v14 + 1452) ) { v8 = -99999.0; v12 = 1; } } if ( !v11 ) { if ( v13 == -99999 ) { v13 = *(_DWORD *)(v14 + 1496); } else if ( v13 != *(_DWORD *)(v14 + 1496) ) { v11 = 1; v13 = -99999; } } if ( !v10 ) { if ( v5 == -99999.0 ) { v5 = *(float *)(v14 + 1500); } else if ( v5 != *(float *)(v14 + 1500) ) { v5 = -99999.0; v10 = 1; } } if ( !v9 ) { if ( v6 == -99999.0 ) { v6 = *(float *)(v14 + 1544); } else if ( v6 != *(float *)(v14 + 1544) ) { v6 = -99999.0; v9 = 1; ++v7; continue; } } ++v7; } if ( v8 != -99999.0 ) *((float *)this + 258) = v8; result = 4294867297LL; if ( v13 != -99999 ) *((_DWORD *)this + 262) = v13; if ( v5 != -99999.0 ) *((float *)this + 263) = v5; *((float *)this + 272) = v6; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source