// // SetupCameraRotatePopup::determineStartValues from 0x5261f4 to 0x526350 (348 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void SetupCameraRotatePopup::determineStartValues(SetupCameraRotatePopup *a1) { cocos2d::CCArray *v2; // r0 EffectGameObject *m_gameObject; // r3 cocos2d::CCArray *m_gameObjects; // r7 float v5; // s17 unsigned int v6; // r5 EasingType 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] SetupTriggerPopup::determineStartValues(a1); m_gameObject = a1->m_gameObject; a1->m_cameraEasingType = -99999; a1->m_moveTime = -99999.0; a1->m_degrees = -99999.0; a1->m_cameraEasingRate = -99999.0; if ( m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create(v2); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects && cocos2d::CCArray::count(m_gameObjects) ) { v5 = -99999.0; v6 = 0; v7 = -99999; v8 = 0; v9 = 0; v10 = 0; v17 = 0; v11 = -99999.0; v12 = -99999.0; while ( v6 < cocos2d::CCArray::count(m_gameObjects) ) { v13 = cocos2d::CCArray::objectAtIndex(m_gameObjects, v6); if ( !v17 ) { v14 = (float *)(v13 + 1264); if ( v12 == -99999.0 ) { v12 = *v14; } else if ( v12 != *v14 ) { v12 = -99999.0; v17 = 1; } } if ( !v10 ) { if ( v7 == -99999 ) { v7 = *(_DWORD *)(v13 + 1308); } else if ( v7 != *(_DWORD *)(v13 + 1308) ) { v7 = -99999; v10 = 1; } } if ( !v9 ) { v15 = (float *)(v13 + 1312); if ( v5 == -99999.0 ) { v5 = *v15; } else if ( v5 != *v15 ) { v5 = -99999.0; v9 = 1; } } if ( !v8 ) { v16 = (float *)(v13 + 1356); if ( v11 == -99999.0 ) { v11 = *v16; } else if ( v11 != *v16 ) { v11 = -99999.0; v8 = 1; } } ++v6; } a1->m_degrees = v11; if ( v12 != -99999.0 ) a1->m_moveTime = v12; if ( v7 != -99999 ) a1->m_cameraEasingType = v7; if ( v5 != -99999.0 ) a1->m_cameraEasingRate = v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source