// // CollisionBlockPopup::onNextItemID from 0x100085634 to 0x10008569c (104 bytes) // // 1 xrefs: // > CollisionBlockPopup::init @ 0x1000851c0 // // 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 __fastcall CollisionBlockPopup::onNextItemID(CollisionBlockPopup *a1, cocos2d::CCObject *a2) { LevelEditorLayer *m_levelEditorLayer; // x0 std::unordered_set v4; // [xsp+0h] [xbp-40h] BYREF m_levelEditorLayer = GameManager::sharedState()->m_levelEditorLayer; memset(&v4, 0, 32); v4.__table_.__p3_.__value_ = 1.0; a1->m_blockID = LevelEditorLayer::getNextFreeBlockID(m_levelEditorLayer, &v4); sub_100017A98((__int64)&v4); CollisionBlockPopup::updateItemID(a1); CollisionBlockPopup::updateEditorLabel(a1); CollisionBlockPopup::updateTextInputLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source