// // SetupInteractObjectPopup::onPlusButton from 0x10050eb50 to 0x10050ebcd (125 bytes) // // 1 xrefs: // > @ 0x10095cff8 // // 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 SetupInteractObjectPopup::onPlusButton(SetupInteractObjectPopup *a1, cocos2d::CCObject *a2) { LevelEditorLayer *m_levelEditorLayer; // rdi int NextFreeItemID; // eax std::__hash_node_base *>::__next_pointer next; // rdi std::__hash_node_base *> *v6; // rbx std::__hash_node_base *> **value; // rdi std::unordered_set v8; // [rsp+0h] [rbp-30h] BYREF m_levelEditorLayer = GameManager::sharedState()->m_levelEditorLayer; memset(&v8, 0, 32); v8.__table_.__p3_.__value_ = 1.0; NextFreeItemID = LevelEditorLayer::getNextFreeItemID(m_levelEditorLayer, &v8); SetupTriggerPopup::updateValue(a1, 80, (float)NextFreeItemID); next = v8.__table_.__p1_.__value_.__next_; if ( v8.__table_.__p1_.__value_.__next_ ) { do { v6 = next->__next_; operator delete(next); next = v6; } while ( v6 ); } value = v8.__table_.__bucket_list_.__ptr_.__value_; v8.__table_.__bucket_list_.__ptr_.__value_ = nullptr; if ( value ) operator delete(value); }
GD Web Decomp Icon

GD Web Decomp

Raw Source