{"type": "func", "start": 5373316752, "end": 5373316898, "name": "SetupTouchTogglePopup::onClose", "pseudocode": "// \n// SetupTouchTogglePopup::onClose from 0x140464e90 to 0x140464f22 (146 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405faaf0\n// > <???> @ 0x1406db030\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\n// Hidden C++ exception states: #wind=1\nvoid SetupTouchTogglePopup::onClose(SetupTouchTogglePopup *a1, cocos2d::CCObject *a2)\n{\n  __int64 v4; // rax\n  void *v5; // [rsp+30h] [rbp+8h]\n\n  a1->m_groupIDInput->m_delegate = nullptr;\n  a1->m_groupIDInput->onClickTrackNode(a1->m_groupIDInput, 0);\n  v4 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v5 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v4 = qword_1406C2ED8;\n  }\n  *(_BYTE *)(*(_QWORD *)(v4 + 528) + 14401LL) = 1;\n  SetupTriggerPopup::onClose(a1, a2);\n}", "assembly": "; \n; SetupTouchTogglePopup::onClose from 0x140464e90 to 0x140464f22 (146 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405faaf0\n; > <???> @ 0x1406db030\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140464e90\npush    rdi                                                            ; +0x5, 0x140464e95\nsub     rsp, 20h                                                       ; +0x6, 0x140464e96\nmov     rdi, rdx                                                       ; +0xa, 0x140464e9a\nmov     rbx, rcx                                                       ; +0xd, 0x140464e9d\nmov     rax, [rcx+3A8h]                                                ; +0x10, 0x140464ea0\nmov     qword ptr [rax+230h], 0                                        ; +0x17, 0x140464ea7\nmov     rcx, [rcx+3A8h]                                                ; +0x22, 0x140464eb2\nmov     rax, [rcx]                                                     ; +0x29, 0x140464eb9\nxor     edx, edx                                                       ; +0x2c, 0x140464ebc\ncall    qword ptr [rax+3F8h]                                           ; +0x2e, 0x140464ebe\nmov     rax, cs:qword_1406C2ED8                                        ; +0x34, 0x140464ec4\ntest    rax, rax                                                       ; +0x3b, 0x140464ecb\njnz     short loc_140464EFF                                            ; +0x3e, 0x140464ece\nmov     ecx, 668h; Size                                                ; +0x40, 0x140464ed0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x45, 0x140464ed5\nmov     [rsp+28h+arg_0], rax                                           ; +0x4a, 0x140464eda\nmov     rcx, rax                                                       ; +0x4f, 0x140464edf\ncall    sub_14017AB00                                                  ; +0x52, 0x140464ee2\nnop                                                                    ; +0x57, 0x140464ee7\nmov     cs:qword_1406C2ED8, rax                                        ; +0x58, 0x140464ee8\nmov     rdx, [rax]                                                     ; +0x5f, 0x140464eef\nmov     rcx, rax                                                       ; +0x62, 0x140464ef2\ncall    qword ptr [rdx+48h]                                            ; +0x65, 0x140464ef5\nmov     rax, cs:qword_1406C2ED8                                        ; +0x68, 0x140464ef8\nmov     rax, [rax+210h]                                                ; +0x6f, 0x140464eff\nmov     byte ptr [rax+3841h], 1                                        ; +0x76, 0x140464f06\nmov     rdx, rdi                                                       ; +0x7d, 0x140464f0d\nmov     rcx, rbx                                                       ; +0x80, 0x140464f10\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x83, 0x140464f13\nadd     rsp, 20h                                                       ; +0x88, 0x140464f18\npop     rdi                                                            ; +0x8c, 0x140464f1c\njmp     SetupTriggerPopup__onClose                                     ; +0x8d, 0x140464f1d", "xrefs": ["<???> @ 0x1405faaf0", "<???> @ 0x1406db030"], "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"}