{"type": "func", "start": 6295904, "end": 6295958, "name": "ColorSelectLiveOverlay::closeColorSelect", "pseudocode": "// \n// ColorSelectLiveOverlay::closeColorSelect from 0x601160 to 0x601196 (54 bytes)\n// \n// 2 xrefs:\n// > EditorUI::closeLiveColorSelect @ 0x483fcc\n// > ColorSelectLiveOverlay::keyBackClicked @ 0x601198\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:54:40 +0000\n// \n\nint __fastcall ColorSelectLiveOverlay::closeColorSelect(ColorSelectLiveOverlay *this, cocos2d::CCObject *a2)\n{\n  int v2; // r3\n  void (__fastcall ***v4)(_DWORD, ColorSelectLiveOverlay *); // r0\n\n  v2 = *(_DWORD *)this;\n  *((_BYTE *)this + 645) = a2 != nullptr;\n  (*(void (**)(void))(v2 + 536))();\n  v4 = *((void (__fastcall ****)(_DWORD, ColorSelectLiveOverlay *))this + 142);\n  if ( v4 )\n    (**v4)(v4, this);\n  return (*(int (__fastcall **)(ColorSelectLiveOverlay *, int))(*(_DWORD *)this + 264))(this, 1);\n}", "assembly": "; \n; ColorSelectLiveOverlay::closeColorSelect from 0x601160 to 0x601196 (54 bytes)\n; \n; 2 xrefs:\n; > EditorUI::closeLiveColorSelect @ 0x483fcc\n; > ColorSelectLiveOverlay::keyBackClicked @ 0x601198\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:54:40 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x601160\nADDS            R1, #0                                                 ; +0x2, 0x601162\nLDR             R3, [R0]                                               ; +0x4, 0x601164\nMOV             R4, R0                                                 ; +0x6, 0x601166\nIT NE                                                                  ; +0x8, 0x601168\nMOVNE           R1, #1                                                 ; +0xa, 0x60116a\nSTRB.W          R1, [R0,#0x285]                                        ; +0xc, 0x60116c\nMOVS            R1, #0                                                 ; +0x10, 0x601170\nLDR.W           R3, [R3,#0x218]                                        ; +0x12, 0x601172\nBLX             R3                                                     ; +0x16, 0x601176\nLDR.W           R0, [R4,#0x238]                                        ; +0x18, 0x601178\nCBZ             R0, loc_601186                                         ; +0x1c, 0x60117c\nLDR             R3, [R0]                                               ; +0x1e, 0x60117e\nMOV             R1, R4                                                 ; +0x20, 0x601180\nLDR             R3, [R3]                                               ; +0x22, 0x601182\nBLX             R3                                                     ; +0x24, 0x601184\nLDR             R3, [R4]                                               ; +0x26, 0x601186\nMOV             R0, R4                                                 ; +0x28, 0x601188\nMOVS            R1, #1                                                 ; +0x2a, 0x60118a\nPOP.W           {R4,LR}                                                ; +0x2c, 0x60118c\nLDR.W           R3, [R3,#0x108]                                        ; +0x30, 0x601190\nBX              R3                                                     ; +0x34, 0x601194", "xrefs": ["EditorUI::closeLiveColorSelect @ 0x483fcc", "ColorSelectLiveOverlay::keyBackClicked @ 0x601198"], "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"}