// // CollisionBlockPopup::updateItemID from 0x90a3dc to 0x90a468 (140 bytes) // // 4 xrefs: // > CollisionBlockPopup::textChanged @ 0x90a4ec // > CollisionBlockPopup::onItemIDArrow @ 0x90a584 // > CollisionBlockPopup::onNextItemID @ 0x90a654 // > @ 0x54d98 // // 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 CollisionBlockPopup::updateItemID(CollisionBlockPopup *a1) { int m_blockID; // 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_blockID = a1->m_blockID; m_gameObject = a1->m_gameObject; if ( m_blockID < 0 ) m_blockID = 0; if ( m_blockID > 9999 ) m_blockID = 9999; a1->m_blockID = m_blockID; if ( m_gameObject ) { m_gameObject->m_itemID = m_blockID; } 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_blockID; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source