// // EditorUI::orderDownCustomItem from 0x1400e46f0 to 0x1400e477c (140 bytes) // // 2 xrefs: // > EditorUI::createCustomItems @ 0x1400e4a7a // > @ 0x1406c8c7c // // 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 EditorUI::orderDownCustomItem(EditorUI *a1, cocos2d::CCObject *a2) { GameManager *v3; // rcx int v4; // edi void *v5; // [rsp+30h] [rbp+8h] if ( a1->m_selectedObjectIndex < 0 ) { v3 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v5 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } v4 = GameManager::reorderKey(v3, a1->m_selectedObjectIndex, 0); if ( v4 != a1->m_selectedObjectIndex ) { EditorUI::reloadCustomItems(a1); a1->m_selectedObjectIndex = v4; EditorUI::updateCreateMenu(a1, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source