// // SetupCollisionTriggerPopup::updateItemID from 0x950f48 to 0x950fd4 (140 bytes) // // 4 xrefs: // > SetupCollisionTriggerPopup::onItemIDArrow @ 0x95100c // > SetupCollisionTriggerPopup::onItemIDArrow @ 0x95102c // > SetupCollisionTriggerPopup::textChanged @ 0x9512c0 // > @ 0x4d358 // // 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::updateItemID(SetupCollisionTriggerPopup *a1) { int m_blockAID; // w1 EffectGameObject *m_gameObject; // x3 cocos2d::CCArray *m_gameObjects; // x1 unsigned int v5; // w20 __int64 v6; // x0 bool v7; // cf unsigned int v8; // w1 m_blockAID = a1->m_blockAID; m_gameObject = a1->m_gameObject; if ( m_blockAID < 0 ) m_blockAID = 0; if ( m_blockAID > 9999 ) m_blockAID = 9999; a1->m_blockAID = m_blockAID; if ( m_gameObject ) { m_gameObject->m_itemID = m_blockAID; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v5 = 0; while ( 1 ) { v7 = v5 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v8 = v5++; if ( v7 ) break; v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v8); m_gameObjects = a1->m_gameObjects; *(_DWORD *)(v6 + 1664) = a1->m_blockAID; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source