// // SetupCameraModePopup::determineStartValues from 0x1003aaeb0 to 0x1003ab05c (428 bytes) // // 1 xrefs: // > @ 0x10080dce8 // // 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 __fastcall SetupCameraModePopup::determineStartValues(SetupCameraModePopup *a1) { cocos2d::CCArray *m_gameObjects; // x20 unsigned int v3; // w21 char v4; // w23 char v5; // w24 float v6; // s8 float v7; // s10 __int64 v8; // x0 SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(); sub_10024A2D0((__int64)m_gameObjects); if ( !m_gameObjects ) goto LABEL_34; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) goto LABEL_34; } if ( !(unsigned int)sub_10024A36C((__int64)m_gameObjects) ) goto LABEL_34; *(_WORD *)&a1->m_freeMode = 257; a1->m_cameraModeObjects = 1; if ( !(unsigned int)sub_10024A36C((__int64)m_gameObjects) ) goto LABEL_34; v3 = 0; v4 = 0; v5 = 0; v6 = -99999.0; v7 = -99999.0; do { v8 = sub_10024A388((__int64)m_gameObjects, v3); if ( (*(_BYTE *)(v8 + 1748) & 1) == 0 ) a1->m_freeMode = 0; if ( (*(_BYTE *)(v8 + 1749) & 1) == 0 ) a1->m_cameraSettingsEnabled = 0; if ( (v5 & 1) != 0 ) { v5 = 1; if ( (v4 & 1) != 0 ) goto LABEL_20; } else if ( v7 == -99999.0 ) { v5 = 0; v7 = *(float *)(v8 + 1752); if ( (v4 & 1) != 0 ) goto LABEL_20; } else if ( v7 == *(float *)(v8 + 1752) ) { v5 = 0; if ( (v4 & 1) != 0 ) { LABEL_20: v4 = 1; goto LABEL_27; } } else { v5 = 1; v7 = -99999.0; if ( (v4 & 1) != 0 ) goto LABEL_20; } if ( v6 == -99999.0 ) { v4 = 0; v6 = *(float *)(v8 + 1756); } else if ( v6 == *(float *)(v8 + 1756) ) { v4 = 0; } else { v4 = 1; v6 = -99999.0; } LABEL_27: if ( *(_DWORD *)(v8 + 1028) != 2925 ) a1->m_cameraModeObjects = 0; ++v3; } while ( v3 < (unsigned int)sub_10024A36C((__int64)m_gameObjects) ); if ( v7 != -99999.0 ) a1->m_cameraEasing = (int)v7; if ( v6 != -99999.0 ) a1->m_cameraPadding = v6; LABEL_34: if ( !a1->m_cameraSettingsEnabled ) { a1->m_cameraEasing = 10; a1->m_cameraPadding = 0.5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source