{"type": "func", "start": 3673556, "end": 3673616, "name": "EditorUI::colorSelectClosed", "pseudocode": "// \n// EditorUI::colorSelectClosed from 0x380dd4 to 0x380e10 (60 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x380e14\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::colorSelectClosed(EditorUI *a1, cocos2d::CCNode *a2)\n{\n  int v3; // r5\n\n  if ( a2 == a1->m_colorOverlay )\n  {\n    v3 = BYTE1(a2[2].m_obAnchorPointInPoints.y);\n    a1->m_colorOverlay = nullptr;\n  }\n  else\n  {\n    if ( a2 != a1->m_hsvOverlay )\n      return;\n    v3 = BYTE2(a2[2].__vftable);\n    a1->m_hsvOverlay = nullptr;\n  }\n  EditorUI::resetSelectedObjectsColor(a1);\n  if ( v3 )\n    EditorUI::updateEditColorButton(a1);\n}", "assembly": "; \n; EditorUI::colorSelectClosed from 0x380dd4 to 0x380e10 (60 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x380e14\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x380dd4\nMOV             R4, R0                                                 ; +0x2, 0x380dd6\nLDR.W           R3, [R0,#0x38C]                                        ; +0x4, 0x380dd8\nCMP             R1, R3                                                 ; +0x8, 0x380ddc\nBNE             loc_380DEC                                             ; +0xa, 0x380dde\nLDRB.W          R5, [R1,#0x26D]                                        ; +0xc, 0x380de0\nMOVS            R3, #0                                                 ; +0x10, 0x380de4\nSTR.W           R3, [R0,#0x38C]                                        ; +0x12, 0x380de6\nB               loc_380DFE                                             ; +0x16, 0x380dea\nLDR.W           R3, [R0,#0x390]                                        ; +0x18, 0x380dec\nCMP             R1, R3                                                 ; +0x1c, 0x380df0\nBNE             locret_380E0E                                          ; +0x1e, 0x380df2\nLDRB.W          R5, [R1,#0x212]                                        ; +0x20, 0x380df4\nMOVS            R3, #0                                                 ; +0x24, 0x380df8\nSTR.W           R3, [R0,#0x390]                                        ; +0x26, 0x380dfa\nBL              _ZN8EditorUI25resetSelectedObjectsColorEv; EditorUI::resetSelectedObjectsColor(void) ; +0x2a, 0x380dfe\nCBZ             R5, locret_380E0E                                      ; +0x2e, 0x380e02\nMOV             R0, R4; this                                           ; +0x30, 0x380e04\nPOP.W           {R3-R5,LR}                                             ; +0x32, 0x380e06\nB.W             _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x36, 0x380e0a\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x380e0e", "xrefs": ["`non-virtual thunk to'EditorUI::colorSelectClosed @ 0x380e14"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}