{"type": "func", "start": 5373020160, "end": 5373020378, "name": "SetupCountTriggerPopup::onClose", "pseudocode": "// \n// SetupCountTriggerPopup::onClose from 0x14041c800 to 0x14041c8da (218 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405e22d8\n// > <???> @ 0x1406d9380\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 SetupCountTriggerPopup::onClose(SetupCountTriggerPopup *a1, cocos2d::CCObject *a2)\n{\n  __int64 v4; // rax\n  void *v5; // [rsp+30h] [rbp+8h]\n\n  a1->m_itemIDInput->m_delegate = nullptr;\n  a1->m_itemIDInput->onClickTrackNode(a1->m_itemIDInput, 0);\n  a1->m_targetIDInput->m_delegate = nullptr;\n  a1->m_targetIDInput->onClickTrackNode(a1->m_targetIDInput, 0);\n  a1->m_targetCountInput->m_delegate = nullptr;\n  a1->m_targetCountInput->onClickTrackNode(a1->m_targetCountInput, 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; SetupCountTriggerPopup::onClose from 0x14041c800 to 0x14041c8da (218 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405e22d8\n; > <???> @ 0x1406d9380\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, 0x14041c800\npush    rdi                                                            ; +0x5, 0x14041c805\nsub     rsp, 20h                                                       ; +0x6, 0x14041c806\nmov     rdi, rdx                                                       ; +0xa, 0x14041c80a\nmov     rbx, rcx                                                       ; +0xd, 0x14041c80d\nmov     rax, [rcx+3A8h]                                                ; +0x10, 0x14041c810\nmov     qword ptr [rax+230h], 0                                        ; +0x17, 0x14041c817\nmov     rcx, [rcx+3A8h]                                                ; +0x22, 0x14041c822\nmov     rax, [rcx]                                                     ; +0x29, 0x14041c829\nxor     edx, edx                                                       ; +0x2c, 0x14041c82c\ncall    qword ptr [rax+3F8h]                                           ; +0x2e, 0x14041c82e\nmov     rax, [rbx+3B0h]                                                ; +0x34, 0x14041c834\nmov     qword ptr [rax+230h], 0                                        ; +0x3b, 0x14041c83b\nmov     rcx, [rbx+3B0h]                                                ; +0x46, 0x14041c846\nmov     rax, [rcx]                                                     ; +0x4d, 0x14041c84d\nxor     edx, edx                                                       ; +0x50, 0x14041c850\ncall    qword ptr [rax+3F8h]                                           ; +0x52, 0x14041c852\nmov     rax, [rbx+3B8h]                                                ; +0x58, 0x14041c858\nmov     qword ptr [rax+230h], 0                                        ; +0x5f, 0x14041c85f\nmov     rcx, [rbx+3B8h]                                                ; +0x6a, 0x14041c86a\nmov     rax, [rcx]                                                     ; +0x71, 0x14041c871\nxor     edx, edx                                                       ; +0x74, 0x14041c874\ncall    qword ptr [rax+3F8h]                                           ; +0x76, 0x14041c876\nmov     rax, cs:qword_1406C2ED8                                        ; +0x7c, 0x14041c87c\ntest    rax, rax                                                       ; +0x83, 0x14041c883\njnz     short loc_14041C8B7                                            ; +0x86, 0x14041c886\nmov     ecx, 668h; Size                                                ; +0x88, 0x14041c888\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x8d, 0x14041c88d\nmov     [rsp+28h+arg_0], rax                                           ; +0x92, 0x14041c892\nmov     rcx, rax                                                       ; +0x97, 0x14041c897\ncall    sub_14017AB00                                                  ; +0x9a, 0x14041c89a\nnop                                                                    ; +0x9f, 0x14041c89f\nmov     cs:qword_1406C2ED8, rax                                        ; +0xa0, 0x14041c8a0\nmov     rdx, [rax]                                                     ; +0xa7, 0x14041c8a7\nmov     rcx, rax                                                       ; +0xaa, 0x14041c8aa\ncall    qword ptr [rdx+48h]                                            ; +0xad, 0x14041c8ad\nmov     rax, cs:qword_1406C2ED8                                        ; +0xb0, 0x14041c8b0\nmov     rax, [rax+210h]                                                ; +0xb7, 0x14041c8b7\nmov     byte ptr [rax+3841h], 1                                        ; +0xbe, 0x14041c8be\nmov     rdx, rdi                                                       ; +0xc5, 0x14041c8c5\nmov     rcx, rbx                                                       ; +0xc8, 0x14041c8c8\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xcb, 0x14041c8cb\nadd     rsp, 20h                                                       ; +0xd0, 0x14041c8d0\npop     rdi                                                            ; +0xd4, 0x14041c8d4\njmp     SetupTriggerPopup__onClose                                     ; +0xd5, 0x14041c8d5", "xrefs": ["<???> @ 0x1405e22d8", "<???> @ 0x1406d9380"], "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"}