// // SetupCollisionTriggerPopup::determineStartValues from 0x1002306cc to 0x100230810 (324 bytes) // // 1 xrefs: // > @ 0x1007c4eb0 // // 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 SetupCollisionTriggerPopup::determineStartValues(SetupCollisionTriggerPopup *a1) { __int64 v2; // x0 cocos2d::CCArray *m_gameObjects; // x20 __int64 v4; // x21 __int64 v5; // x0 int m_blockAID; // w9 int v7; // w8 int m_blockBID; // w9 int v9; // w8 int m_targetID; // w9 int v11; // w8 SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(v2); sub_10024A2D0(m_gameObjects, a1->m_gameObject); if ( !m_gameObjects ) return; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) return; } if ( (unsigned int)sub_10024A36C(m_gameObjects) ) { *(_QWORD *)&a1->m_blockAID = -1; *(_QWORD *)&a1->m_targetID = 0x1010101FFFFFFFFLL; a1->m_targetPP = 1; if ( (unsigned int)sub_10024A36C(m_gameObjects) ) { v4 = 0; do { v5 = sub_10024A388(m_gameObjects, v4); if ( (*(_BYTE *)(v5 + 1637) & 1) == 0 ) a1->m_activateGroup = 0; if ( (*(_BYTE *)(v5 + 1667) & 1) == 0 ) a1->m_triggerOnExit = 0; if ( (*(_BYTE *)(v5 + 1684) & 1) == 0 ) a1->m_targetP1 = 0; if ( (*(_BYTE *)(v5 + 1685) & 1) == 0 ) a1->m_targetP2 = 0; if ( (*(_BYTE *)(v5 + 1686) & 1) == 0 ) a1->m_targetPP = 0; m_blockAID = a1->m_blockAID; v7 = *(_DWORD *)(v5 + 1680); if ( m_blockAID != -1 ) { if ( m_blockAID == v7 ) goto LABEL_22; v7 = 0; } a1->m_blockAID = v7; LABEL_22: m_blockBID = a1->m_blockBID; v9 = *(_DWORD *)(v5 + 1668); if ( m_blockBID != -1 ) { if ( m_blockBID == v9 ) goto LABEL_26; v9 = 0; } a1->m_blockBID = v9; LABEL_26: m_targetID = a1->m_targetID; v11 = *(_DWORD *)(v5 + 1464); if ( m_targetID == -1 ) goto LABEL_29; if ( m_targetID != v11 ) { v11 = 0; LABEL_29: a1->m_targetID = v11; } v4 = (unsigned int)(v4 + 1); } while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source