{"type": "func", "start": 4736276, "end": 4736336, "name": "EditorUI::colorSelectClosed", "pseudocode": "// \n// EditorUI::colorSelectClosed from 0x484514 to 0x484550 (60 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x484554\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:49:24 +0000\n// \n\nint __fastcall EditorUI::colorSelectClosed(int this, cocos2d::CCNode *a2)\n{\n  EditorUI *v2; // r4\n  int v3; // r5\n\n  v2 = (EditorUI *)this;\n  if ( a2 == *(cocos2d::CCNode **)(this + 1024) )\n  {\n    v3 = *((unsigned __int8 *)a2 + 645);\n    *(_DWORD *)(this + 1024) = 0;\n  }\n  else\n  {\n    if ( a2 != *(cocos2d::CCNode **)(this + 1028) )\n      return this;\n    v3 = *((unsigned __int8 *)a2 + 554);\n    *(_DWORD *)(this + 1028) = 0;\n  }\n  this = EditorUI::resetSelectedObjectsColor((EditorUI *)this);\n  if ( v3 )\n    return EditorUI::updateEditColorButton(v2);\n  return this;\n}", "assembly": "; \n; EditorUI::colorSelectClosed from 0x484514 to 0x484550 (60 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x484554\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:49:24 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x484514\nMOV             R4, R0                                                 ; +0x2, 0x484516\nLDR.W           R3, [R0,#0x400]                                        ; +0x4, 0x484518\nCMP             R1, R3                                                 ; +0x8, 0x48451c\nBNE             loc_48452C                                             ; +0xa, 0x48451e\nLDRB.W          R5, [R1,#0x285]                                        ; +0xc, 0x484520\nMOVS            R3, #0                                                 ; +0x10, 0x484524\nSTR.W           R3, [R0,#0x400]                                        ; +0x12, 0x484526\nB               loc_48453E                                             ; +0x16, 0x48452a\nLDR.W           R3, [R0,#0x404]                                        ; +0x18, 0x48452c\nCMP             R1, R3                                                 ; +0x1c, 0x484530\nBNE             locret_48454E                                          ; +0x1e, 0x484532\nLDRB.W          R5, [R1,#0x22A]                                        ; +0x20, 0x484534\nMOVS            R3, #0                                                 ; +0x24, 0x484538\nSTR.W           R3, [R0,#0x404]                                        ; +0x26, 0x48453a\nBL              _ZN8EditorUI25resetSelectedObjectsColorEv; EditorUI::resetSelectedObjectsColor(void) ; +0x2a, 0x48453e\nCBZ             R5, locret_48454E                                      ; +0x2e, 0x484542\nMOV             R0, R4; this                                           ; +0x30, 0x484544\nPOP.W           {R3-R5,LR}                                             ; +0x32, 0x484546\nB.W             _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x36, 0x48454a\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x48454e", "xrefs": ["`non-virtual thunk to'EditorUI::colorSelectClosed @ 0x484554"], "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"}