{"type": "func", "start": 5373156832, "end": 5373157014, "name": "SetupRandAdvTriggerPopup::onClose", "pseudocode": "// \n// SetupRandAdvTriggerPopup::onClose from 0x14043dde0 to 0x14043de96 (182 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405ec138\n// > <???> @ 0x1406da190\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 SetupRandAdvTriggerPopup::onClose(SetupRandAdvTriggerPopup *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  a1->m_chanceInput->m_delegate = nullptr;\n  a1->m_chanceInput->onClickTrackNode(a1->m_chanceInput, 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; SetupRandAdvTriggerPopup::onClose from 0x14043dde0 to 0x14043de96 (182 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405ec138\n; > <???> @ 0x1406da190\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, 0x14043dde0\npush    rdi                                                            ; +0x5, 0x14043dde5\nsub     rsp, 20h                                                       ; +0x6, 0x14043dde6\nmov     rdi, rdx                                                       ; +0xa, 0x14043ddea\nmov     rbx, rcx                                                       ; +0xd, 0x14043dded\nmov     rax, [rcx+3B8h]                                                ; +0x10, 0x14043ddf0\nmov     qword ptr [rax+230h], 0                                        ; +0x17, 0x14043ddf7\nmov     rcx, [rcx+3B8h]                                                ; +0x22, 0x14043de02\nmov     rax, [rcx]                                                     ; +0x29, 0x14043de09\nxor     edx, edx                                                       ; +0x2c, 0x14043de0c\ncall    qword ptr [rax+3F8h]                                           ; +0x2e, 0x14043de0e\nmov     rax, [rbx+3C0h]                                                ; +0x34, 0x14043de14\nmov     qword ptr [rax+230h], 0                                        ; +0x3b, 0x14043de1b\nmov     rcx, [rbx+3C0h]                                                ; +0x46, 0x14043de26\nmov     rax, [rcx]                                                     ; +0x4d, 0x14043de2d\nxor     edx, edx                                                       ; +0x50, 0x14043de30\ncall    qword ptr [rax+3F8h]                                           ; +0x52, 0x14043de32\nmov     rax, cs:qword_1406C2ED8                                        ; +0x58, 0x14043de38\ntest    rax, rax                                                       ; +0x5f, 0x14043de3f\njnz     short loc_14043DE73                                            ; +0x62, 0x14043de42\nmov     ecx, 668h; Size                                                ; +0x64, 0x14043de44\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x69, 0x14043de49\nmov     [rsp+28h+arg_0], rax                                           ; +0x6e, 0x14043de4e\nmov     rcx, rax                                                       ; +0x73, 0x14043de53\ncall    sub_14017AB00                                                  ; +0x76, 0x14043de56\nnop                                                                    ; +0x7b, 0x14043de5b\nmov     cs:qword_1406C2ED8, rax                                        ; +0x7c, 0x14043de5c\nmov     rdx, [rax]                                                     ; +0x83, 0x14043de63\nmov     rcx, rax                                                       ; +0x86, 0x14043de66\ncall    qword ptr [rdx+48h]                                            ; +0x89, 0x14043de69\nmov     rax, cs:qword_1406C2ED8                                        ; +0x8c, 0x14043de6c\nmov     rax, [rax+210h]                                                ; +0x93, 0x14043de73\nmov     byte ptr [rax+3841h], 1                                        ; +0x9a, 0x14043de7a\nmov     rdx, rdi                                                       ; +0xa1, 0x14043de81\nmov     rcx, rbx                                                       ; +0xa4, 0x14043de84\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xa7, 0x14043de87\nadd     rsp, 20h                                                       ; +0xac, 0x14043de8c\npop     rdi                                                            ; +0xb0, 0x14043de90\njmp     SetupTriggerPopup__onClose                                     ; +0xb1, 0x14043de91", "xrefs": ["<???> @ 0x1405ec138", "<???> @ 0x1406da190"], "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"}