// // SetupRandTriggerPopup::updateTargetID from 0x1404411f0 to 0x1404412bd (205 bytes) // // 5 xrefs: // > SetupRandTriggerPopup::onTargetIDArrow @ 0x140440b3a // > SetupRandTriggerPopup::textChanged @ 0x140440c95 // > @ 0x1406a2090 // > @ 0x1406a20a0 // > @ 0x1406da3ac // // 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::updateTargetID(SetupRandTriggerPopup *a1) { int m_groupID1; // edx EffectGameObject *m_gameObject; // rax cocos2d::CCArray *m_gameObjects; // rcx unsigned int v5; // edi struct cocos2d::CCObject *v6; // rax int v7; // ecx m_groupID1 = 0; if ( a1->m_groupID1 >= 0 ) m_groupID1 = a1->m_groupID1; m_gameObject = a1->m_gameObject; if ( m_groupID1 > 9999 ) m_groupID1 = 9999; a1->m_groupID1 = m_groupID1; if ( m_gameObject ) { m_gameObject->m_targetGroupID = m_groupID1; } 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_groupID1; if ( v7 < 0 ) v7 = 0; if ( v7 > 9999 ) v7 = 9999; ++v5; v6[26].m_uAutoReleaseCount = v7; } while ( v5 < cocos2d::CCArray::count(a1->m_gameObjects) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source