// // SetupEndPopup::determineStartValues from 0x1002adb44 to 0x1002adc18 (212 bytes) // // 1 xrefs: // > @ 0x1007d6860 // // 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 SetupEndPopup::determineStartValues(SetupEndPopup *a1) { cocos2d::CCArray *m_gameObjects; // x20 unsigned int v3; // w21 __int64 v4; // x0 int m_groupID; // w9 int v6; // w8 SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(); sub_10024A2D0((__int64)m_gameObjects); if ( !m_gameObjects ) return; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) return; } if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { *(_WORD *)&a1->m_reversed = 257; a1->m_groupID = -1; if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { v3 = 0; while ( 1 ) { v4 = sub_10024A388((__int64)m_gameObjects, v3); if ( (*(_BYTE *)(v4 + 1761) & 1) == 0 ) a1->m_reversed = 0; if ( (*(_BYTE *)(v4 + 1505) & 1) == 0 ) a1->m_lockY = 0; m_groupID = a1->m_groupID; v6 = *(_DWORD *)(v4 + 1464); if ( m_groupID == -1 ) goto LABEL_15; if ( m_groupID != v6 ) break; LABEL_16: if ( ++v3 >= (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) return; } v6 = 0; LABEL_15: a1->m_groupID = v6; goto LABEL_16; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source