// // SetupCollisionTriggerPopup::updateItemID2 from 0x140419ca0 to 0x140419d39 (153 bytes) // // 3 xrefs: // > SetupCollisionTriggerPopup::onItemID2Arrow @ 0x1404196ea // > SetupCollisionTriggerPopup::textChanged @ 0x140419935 // > @ 0x1406d91d0 // // 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 SetupCollisionTriggerPopup::updateItemID2(SetupCollisionTriggerPopup *a1) { int m_blockBID; // eax unsigned int v3; // ebx int v4; // ecx EffectGameObject *m_gameObject; // rax cocos2d::CCArray *m_gameObjects; // rcx struct cocos2d::CCObject *v7; // rax m_blockBID = a1->m_blockBID; v3 = 0; v4 = 0; if ( m_blockBID >= 0 ) v4 = m_blockBID; if ( v4 > 9999 ) v4 = 9999; m_gameObject = a1->m_gameObject; a1->m_blockBID = v4; if ( m_gameObject ) { m_gameObject->m_itemID2 = v4; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && cocos2d::CCArray::count(m_gameObjects) ) { do { v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v3++); HIDWORD(v7[30].__vftable) = a1->m_blockBID; } while ( v3 < cocos2d::CCArray::count(a1->m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source