// // SetupRandTriggerPopup::updateTargetID2 from 0x1404412c0 to 0x14044138d (205 bytes) // // 5 xrefs: // > SetupRandTriggerPopup::onTargetID2Arrow @ 0x140440b8a // > SetupRandTriggerPopup::textChanged @ 0x140440d65 // > @ 0x1406a20b4 // > @ 0x1406a20c4 // > @ 0x1406da3d0 // // 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 SetupRandTriggerPopup::updateTargetID2(SetupRandTriggerPopup *a1) { int m_groupID2; // edx EffectGameObject *m_gameObject; // rax cocos2d::CCArray *m_gameObjects; // rcx unsigned int v5; // edi struct cocos2d::CCObject *v6; // rax int v7; // ecx m_groupID2 = 0; if ( a1->m_groupID2 >= 0 ) m_groupID2 = a1->m_groupID2; m_gameObject = a1->m_gameObject; if ( m_groupID2 > 9999 ) m_groupID2 = 9999; a1->m_groupID2 = m_groupID2; if ( m_gameObject ) { m_gameObject->m_centerGroupID = m_groupID2; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v5 = 0; if ( cocos2d::CCArray::count(m_gameObjects) ) { do { v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v5); v7 = a1->m_groupID2; if ( v7 < 0 ) v7 = 0; if ( v7 > 9999 ) v7 = 9999; ++v5; v6[26].m_eObjType = v7; } while ( v5 < cocos2d::CCArray::count(a1->m_gameObjects) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source