{"type": "func", "start": 4297037456, "end": 4297037616, "name": "CustomizeObjectLayer::keyBackClicked", "pseudocode": "// \n// CustomizeObjectLayer::keyBackClicked from 0x1001f9690 to 0x1001f9730 (160 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008d97d0\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 __fastcall CustomizeObjectLayer::keyBackClicked(CustomizeObjectLayer *a1)\n{\n  CCTextInputNode *m_customColorInput; // rdi\n  CCTextInputNode *m_textInput; // rdi\n  GameManager *v4; // rax\n\n  m_customColorInput = a1->m_customColorInput;\n  m_customColorInput->m_delegate = nullptr;\n  ((void (__fastcall *)(CCTextInputNode *, _QWORD))m_customColorInput->onClickTrackNode)(m_customColorInput, 0);\n  m_textInput = a1->m_textInput;\n  if ( m_textInput )\n  {\n    ((void (__fastcall *)(CCTextInputNode *, _QWORD))m_textInput->onClickTrackNode)(m_textInput, 0);\n    a1->m_textInput->m_delegate = nullptr;\n  }\n  GameManager::sharedState()->m_currentColorChannel = a1->m_customColorChannel;\n  v4 = GameManager::sharedState();\n  EditorUI::updateObjectInfoLabel(v4->m_levelEditorLayer->m_editorUI);\n  ((void (__fastcall *)(CustomizeObjectLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(CustomizeObjectLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; CustomizeObjectLayer::keyBackClicked from 0x1001f9690 to 0x1001f9730 (160 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008d97d0\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    rbp                                                            ; +0x0, 0x1001f9690\nmov     rbp, rsp                                                       ; +0x1, 0x1001f9691\npush    rbx                                                            ; +0x4, 0x1001f9694\npush    rax                                                            ; +0x5, 0x1001f9695\nmov     rbx, rdi                                                       ; +0x6, 0x1001f9696\nmov     rdi, [rdi+318h]                                                ; +0x9, 0x1001f9699\nmov     qword ptr [rdi+220h], 0                                        ; +0x10, 0x1001f96a0\nmov     rax, [rdi]                                                     ; +0x1b, 0x1001f96ab\nxor     esi, esi                                                       ; +0x1e, 0x1001f96ae\ncall    qword ptr [rax+478h]                                           ; +0x20, 0x1001f96b0\nmov     rdi, [rbx+320h]                                                ; +0x26, 0x1001f96b6\ntest    rdi, rdi                                                       ; +0x2d, 0x1001f96bd\njz      short loc_1001F96DF                                            ; +0x30, 0x1001f96c0\nmov     rax, [rdi]                                                     ; +0x32, 0x1001f96c2\nxor     esi, esi                                                       ; +0x35, 0x1001f96c5\ncall    qword ptr [rax+478h]                                           ; +0x37, 0x1001f96c7\nmov     rax, [rbx+320h]                                                ; +0x3d, 0x1001f96cd\nmov     qword ptr [rax+220h], 0                                        ; +0x44, 0x1001f96d4\ncall    GameManager__sharedState                                       ; +0x4f, 0x1001f96df\nmov     ecx, [rbx+2D4h]                                                ; +0x54, 0x1001f96e4\nmov     [rax+398h], ecx                                                ; +0x5a, 0x1001f96ea\ncall    GameManager__sharedState                                       ; +0x60, 0x1001f96f0\nmov     rax, [rax+200h]                                                ; +0x65, 0x1001f96f5\nmov     rdi, [rax+3670h]                                               ; +0x6c, 0x1001f96fc\ncall    EditorUI__updateObjectInfoLabel                                ; +0x73, 0x1001f9703\nmov     rax, [rbx]                                                     ; +0x78, 0x1001f9708\nmov     rdi, rbx                                                       ; +0x7b, 0x1001f970b\nxor     esi, esi                                                       ; +0x7e, 0x1001f970e\ncall    qword ptr [rax+420h]                                           ; +0x80, 0x1001f9710\nmov     rax, [rbx]                                                     ; +0x86, 0x1001f9716\nmov     rax, [rax+200h]                                                ; +0x89, 0x1001f9719\nmov     rdi, rbx                                                       ; +0x90, 0x1001f9720\nmov     esi, 1                                                         ; +0x93, 0x1001f9723\nadd     rsp, 8                                                         ; +0x98, 0x1001f9728\npop     rbx                                                            ; +0x9c, 0x1001f972c\npop     rbp                                                            ; +0x9d, 0x1001f972d\njmp     rax                                                            ; +0x9e, 0x1001f972e", "xrefs": ["<???> @ 0x1008d97d0"], "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"}