// // SetupEndPopup::updateTargetID from 0x100669940 to 0x1006699d6 (150 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 __fastcall SetupEndPopup::updateTargetID(SetupEndPopup *a1) { int m_groupID; // ecx int v3; // esi EffectGameObject *m_gameObject; // rdi cocos2d::CCArray *m_gameObjects; // rdi unsigned int v6; // r14d EffectGameObject *v7; // rax m_groupID = 0; if ( a1->m_groupID > 0 ) m_groupID = a1->m_groupID; v3 = 9999; if ( m_groupID < 9999 ) v3 = m_groupID; a1->m_groupID = v3; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { EffectGameObject::setTargetID(m_gameObject, v3); } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v6 = 0; do { v7 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v6); EffectGameObject::setTargetID(v7, a1->m_groupID); ++v6; } while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source