{"type": "func", "start": 8152500, "end": 8152600, "name": "EditorUI::colorSelectClosed", "pseudocode": "// \n// EditorUI::colorSelectClosed from 0x7c65b4 to 0x7c6618 (100 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x7c661c\n// > <???> @ 0xd05e8\n// > <???> @ 0x1437280\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:54:08 +0000\n// \n\nunsigned __int8 **__fastcall EditorUI::colorSelectClosed(unsigned __int8 **this, cocos2d::CCNode *a2)\n{\n  EditorUI *v2; // x19\n  unsigned __int8 *v3; // x2\n  unsigned __int8 *v4; // x2\n  int v5; // w20\n\n  v2 = (EditorUI *)this;\n  v3 = *(this + 193);\n  if ( v3 == (unsigned __int8 *)a2 )\n  {\n    v5 = v3[857];\n    *(this + 193) = nullptr;\n    this = (unsigned __int8 **)EditorUI::resetSelectedObjectsColor((EditorUI *)this);\n  }\n  else\n  {\n    v4 = *(this + 194);\n    if ( v4 != (unsigned __int8 *)a2 )\n      return this;\n    v5 = v4[730];\n    *(this + 194) = nullptr;\n    this = (unsigned __int8 **)EditorUI::resetSelectedObjectsColor((EditorUI *)this);\n  }\n  if ( v5 )\n    return (unsigned __int8 **)EditorUI::updateEditColorButton(v2);\n  return this;\n}", "assembly": "; \n; EditorUI::colorSelectClosed from 0x7c65b4 to 0x7c6618 (100 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x7c661c\n; > <???> @ 0xd05e8\n; > <???> @ 0x1437280\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:54:08 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x7c65b4\nMOV             X29, SP                                                ; +0x4, 0x7c65b8\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x7c65bc\nMOV             X19, X0                                                ; +0xc, 0x7c65c0\nLDR             X2, [X0,#0x608]                                        ; +0x10, 0x7c65c4\nCMP             X2, X1                                                 ; +0x14, 0x7c65c8\nB.EQ            loc_7C65E8                                             ; +0x18, 0x7c65cc\nLDR             X2, [X0,#0x610]                                        ; +0x1c, 0x7c65d0\nCMP             X2, X1                                                 ; +0x20, 0x7c65d4\nB.EQ            loc_7C6608                                             ; +0x24, 0x7c65d8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x28, 0x7c65dc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x2c, 0x7c65e0\nRET                                                                    ; +0x30, 0x7c65e4\nLDRB            W20, [X2,#0x359]                                       ; +0x34, 0x7c65e8\nSTR             XZR, [X0,#0x608]                                       ; +0x38, 0x7c65ec\nBL              _ZN8EditorUI25resetSelectedObjectsColorEv; EditorUI::resetSelectedObjectsColor(void) ; +0x3c, 0x7c65f0\nCBZ             W20, loc_7C65DC                                        ; +0x40, 0x7c65f4\nMOV             X0, X19; this                                          ; +0x44, 0x7c65f8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0x7c65fc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0x7c6600\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x50, 0x7c6604\nLDRB            W20, [X2,#0x2DA]                                       ; +0x54, 0x7c6608\nSTR             XZR, [X0,#0x610]                                       ; +0x58, 0x7c660c\nBL              _ZN8EditorUI25resetSelectedObjectsColorEv; EditorUI::resetSelectedObjectsColor(void) ; +0x5c, 0x7c6610\nB               loc_7C65F4                                             ; +0x60, 0x7c6614", "xrefs": ["`non-virtual thunk to'EditorUI::colorSelectClosed @ 0x7c661c", "<???> @ 0xd05e8", "<???> @ 0x1437280"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}