{"type": "func", "start": 5373052080, "end": 5373052190, "name": "SetupInteractObjectPopup::onClose", "pseudocode": "// \n// SetupInteractObjectPopup::onClose from 0x1404244b0 to 0x14042451e (110 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1405e5898\n// > <???> @ 0x1405e8930\n// > <???> @ 0x1405f76b8\n// > <???> @ 0x1406d96e0\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// Merged with: SetupInteractObjectPopup::onClose, SetupObjectTogglePopup::onClose, SetupSpawnPopup::onClose\nvoid __fastcall SetupInteractObjectPopup::onClose(SetupTriggerPopup *a1, cocos2d::CCObject *a2)\n{\n  __int64 v4; // rax\n  void *v5; // [rsp+40h] [rbp+18h]\n\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; SetupInteractObjectPopup::onClose from 0x1404244b0 to 0x14042451e (110 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1405e5898\n; > <???> @ 0x1405e8930\n; > <???> @ 0x1405f76b8\n; > <???> @ 0x1406d96e0\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_0], rbx                                               ; +0x0, 0x1404244b0\npush    rdi                                                            ; +0x5, 0x1404244b5\nsub     rsp, 20h                                                       ; +0x6, 0x1404244b6\nmov     rbx, rdx                                                       ; +0xa, 0x1404244ba\nmov     rdi, rcx                                                       ; +0xd, 0x1404244bd\nmov     rax, cs:qword_1406C2ED8                                        ; +0x10, 0x1404244c0\ntest    rax, rax                                                       ; +0x17, 0x1404244c7\njnz     short loc_1404244FB                                            ; +0x1a, 0x1404244ca\nmov     ecx, 668h; Size                                                ; +0x1c, 0x1404244cc\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x21, 0x1404244d1\nmov     [rsp+28h+arg_10], rax                                          ; +0x26, 0x1404244d6\nmov     rcx, rax                                                       ; +0x2b, 0x1404244db\ncall    sub_14017AB00                                                  ; +0x2e, 0x1404244de\nnop                                                                    ; +0x33, 0x1404244e3\nmov     cs:qword_1406C2ED8, rax                                        ; +0x34, 0x1404244e4\nmov     rdx, [rax]                                                     ; +0x3b, 0x1404244eb\nmov     rcx, rax                                                       ; +0x3e, 0x1404244ee\ncall    qword ptr [rdx+48h]                                            ; +0x41, 0x1404244f1\nmov     rax, cs:qword_1406C2ED8                                        ; +0x44, 0x1404244f4\nmov     rax, [rax+210h]                                                ; +0x4b, 0x1404244fb\nmov     byte ptr [rax+3841h], 1                                        ; +0x52, 0x140424502\nmov     rdx, rbx                                                       ; +0x59, 0x140424509\nmov     rcx, rdi                                                       ; +0x5c, 0x14042450c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5f, 0x14042450f\nadd     rsp, 20h                                                       ; +0x64, 0x140424514\npop     rdi                                                            ; +0x68, 0x140424518\njmp     SetupTriggerPopup__onClose                                     ; +0x69, 0x140424519", "xrefs": ["<???> @ 0x1405e5898", "<???> @ 0x1405e8930", "<???> @ 0x1405f76b8", "<???> @ 0x1406d96e0"], "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"}