{"type": "func", "start": 7301246, "end": 7301306, "name": "EditorUI::orderUpCustomItem", "pseudocode": "// \n// EditorUI::orderUpCustomItem from 0x6f687e to 0x6f68ba (60 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:57:39 +0000\n// \n\nint *__fastcall EditorUI::orderUpCustomItem(int *this, cocos2d::CCObject *a2)\n{\n  int *v2; // r4\n  cocos2d::CCDictionary **v3; // r0\n  int *v4; // r5\n\n  v2 = this;\n  if ( *(this + 223) < 0 )\n  {\n    v3 = (cocos2d::CCDictionary **)GameManager::sharedState((GameManager *)this);\n    this = (int *)GameManager::reorderKey(v3, (const char *)v2[223], 1);\n    v4 = this;\n    if ( this != (int *)v2[223] )\n    {\n      EditorUI::reloadCustomItems((EditButtonBar **)v2);\n      v2[223] = (int)v4;\n      return (int *)EditorUI::updateCreateMenu((EditorUI *)v2, 0);\n    }\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::orderUpCustomItem from 0x6f687e to 0x6f68ba (60 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:57:39 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x6f687e\nMOV             R4, R0                                                 ; +0x2, 0x6f6880\nLDR.W           R3, [R0,#0x37C]                                        ; +0x4, 0x6f6882\nCMP             R3, #0                                                 ; +0x8, 0x6f6886\nBGE             locret_6F68B8                                          ; +0xa, 0x6f6888\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xc, 0x6f688a\nLDR.W           R1, [R4,#0x37C]; int                                   ; +0x10, 0x6f688e\nMOVS            R2, #1; bool                                           ; +0x14, 0x6f6892\nBL              _ZN11GameManager10reorderKeyEib; GameManager::reorderKey(int,bool) ; +0x16, 0x6f6894\nLDR.W           R3, [R4,#0x37C]                                        ; +0x1a, 0x6f6898\nCMP             R0, R3                                                 ; +0x1e, 0x6f689c\nMOV             R5, R0                                                 ; +0x20, 0x6f689e\nBEQ             locret_6F68B8                                          ; +0x22, 0x6f68a0\nMOV             R0, R4; this                                           ; +0x24, 0x6f68a2\nBL              _ZN8EditorUI17reloadCustomItemsEv; EditorUI::reloadCustomItems(void) ; +0x26, 0x6f68a4\nSTR.W           R5, [R4,#0x37C]                                        ; +0x2a, 0x6f68a8\nMOV             R0, R4; this                                           ; +0x2e, 0x6f68ac\nMOVS            R1, #0; bool                                           ; +0x30, 0x6f68ae\nPOP.W           {R3-R5,LR}                                             ; +0x32, 0x6f68b0\nB.W             _ZN8EditorUI16updateCreateMenuEb; EditorUI::updateCreateMenu(bool) ; +0x36, 0x6f68b4\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x6f68b8", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}