// // EditorUI::orderUpCustomItem from 0x100031510 to 0x1000315cf (191 bytes) // // 1 xrefs: // > EditorUI::createCustomItems @ 0x10003185e // // 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 EditorUI::orderUpCustomItem(EditorUI *a1, cocos2d::CCObject *a2) { GameManager *v2; // rax int v3; // eax int v4; // r14d GameManager *v5; // rax int IntGameVariable; // r15d GameManager *v7; // rax int v8; // r12d EditButtonBar *m_customTabBar; // r13 cocos2d::CCArray *CustomItems; // rax if ( a1->m_selectedObjectIndex < 0 ) { v2 = GameManager::sharedState(); v3 = GameManager::reorderKey(v2, a1->m_selectedObjectIndex, 1); if ( v3 != a1->m_selectedObjectIndex ) { v4 = v3; v5 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v5, "0049"); v7 = GameManager::sharedState(); v8 = GameManager::getIntGameVariable(v7, "0050"); m_customTabBar = a1->m_customTabBar; CustomItems = EditorUI::createCustomItems(a1); EditButtonBar::loadFromItems(m_customTabBar, CustomItems, IntGameVariable, v8, 1); a1->m_selectedObjectIndex = v4; EditorUI::updateCreateMenu(a1, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source