{"type": "func", "start": 5369813632, "end": 5369813974, "name": "DeathTrackerPopup::onOptions", "pseudocode": "// \n// DeathTrackerPopup::onOptions from 0x14010da80 to 0x14010dbd6 (342 bytes)\n// \n// 3 xrefs:\n// > DeathTrackerPopup::init @ 0x140105a67\n// > <???> @ 0x140915ac4\n// > <???> @ 0x140915ad0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:48 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall DeathTrackerPopup::onOptions(__int64 a1)\n{\n  __int64 v2; // rbx\n  cocos2d::CCObject *v3; // rsi\n  __int64 (__fastcall *v4)(cocos2d::CCObject *); // rdx\n\n  v2 = *(_QWORD *)(a1 + 680);\n  v3 = (cocos2d::CCObject *)operator new(0x400u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v3);\n  *(_QWORD *)v3 = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 40) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 41) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 42) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 43) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 44) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 51) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 54) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 68) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 83) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 84) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 125) = &DeathTrackerOptionsPopup::`vftable';\n  *((_QWORD *)v3 + 126) = 0;\n  *((_QWORD *)v3 + 127) = 0;\n  if ( (unsigned __int8)DeathTrackerOptionsPopup::init(v3, v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);\n    v3 = nullptr;\n  }\n  v4 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL);\n  if ( (char *)v4 == (char *)SetupTriggerPopup::show )\n    return SetupTriggerPopup::show(v3);\n  else\n    return v4(v3);\n}", "assembly": "; \n; DeathTrackerPopup::onOptions from 0x14010da80 to 0x14010dbd6 (342 bytes)\n; \n; 3 xrefs:\n; > DeathTrackerPopup::init @ 0x140105a67\n; > <???> @ 0x140915ac4\n; > <???> @ 0x140915ad0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:48 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14010da80\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14010da85\npush    rdi                                                            ; +0xa, 0x14010da8a\nsub     rsp, 20h                                                       ; +0xb, 0x14010da8b\nmov     rdi, rcx                                                       ; +0xf, 0x14010da8f\nmov     rbx, [rcx+2A8h]                                                ; +0x12, 0x14010da92\nmov     ecx, 400h; Size                                                ; +0x19, 0x14010da99\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1e, 0x14010da9e\nmov     rsi, rax                                                       ; +0x23, 0x14010daa3\nmov     [rsp+28h+arg_0], rax                                           ; +0x26, 0x14010daa6\nmov     rcx, rax                                                       ; +0x2b, 0x14010daab\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2e, 0x14010daae\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@; const DeathTrackerOptionsPopup::`vftable' ; +0x33, 0x14010dab3\nmov     [rsi], rax                                                     ; +0x3a, 0x14010daba\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_0; const DeathTrackerOptionsPopup::`vftable' ; +0x3d, 0x14010dabd\nmov     [rsi+140h], rax                                                ; +0x44, 0x14010dac4\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_1; const DeathTrackerOptionsPopup::`vftable' ; +0x4b, 0x14010dacb\nmov     [rsi+148h], rax                                                ; +0x52, 0x14010dad2\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_2; const DeathTrackerOptionsPopup::`vftable' ; +0x59, 0x14010dad9\nmov     [rsi+150h], rax                                                ; +0x60, 0x14010dae0\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_3; const DeathTrackerOptionsPopup::`vftable' ; +0x67, 0x14010dae7\nmov     [rsi+158h], rax                                                ; +0x6e, 0x14010daee\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_4; const DeathTrackerOptionsPopup::`vftable' ; +0x75, 0x14010daf5\nmov     [rsi+160h], rax                                                ; +0x7c, 0x14010dafc\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_5; const DeathTrackerOptionsPopup::`vftable' ; +0x83, 0x14010db03\nmov     [rsi+198h], rax                                                ; +0x8a, 0x14010db0a\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_6; const DeathTrackerOptionsPopup::`vftable' ; +0x91, 0x14010db11\nmov     [rsi+1B0h], rax                                                ; +0x98, 0x14010db18\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_7; const DeathTrackerOptionsPopup::`vftable' ; +0x9f, 0x14010db1f\nmov     [rsi+220h], rax                                                ; +0xa6, 0x14010db26\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_8; const DeathTrackerOptionsPopup::`vftable' ; +0xad, 0x14010db2d\nmov     [rsi+298h], rax                                                ; +0xb4, 0x14010db34\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_9; const DeathTrackerOptionsPopup::`vftable' ; +0xbb, 0x14010db3b\nmov     [rsi+2A0h], rax                                                ; +0xc2, 0x14010db42\nlea     rax, ??_7DeathTrackerOptionsPopup@@6B@_10; const DeathTrackerOptionsPopup::`vftable' ; +0xc9, 0x14010db49\nmov     [rsi+3E8h], rax                                                ; +0xd0, 0x14010db50\nmov     qword ptr [rsi+3F0h], 0                                        ; +0xd7, 0x14010db57\nmov     qword ptr [rsi+3F8h], 0                                        ; +0xe2, 0x14010db62\nmov     r8, rdi                                                        ; +0xed, 0x14010db6d\nmov     rdx, rbx                                                       ; +0xf0, 0x14010db70\nmov     rcx, rsi                                                       ; +0xf3, 0x14010db73\ncall    DeathTrackerOptionsPopup__init                                 ; +0xf6, 0x14010db76\nmov     rcx, rsi                                                       ; +0xfb, 0x14010db7b\ntest    al, al                                                         ; +0xfe, 0x14010db7e\njz      short loc_14010DB8A                                            ; +0x100, 0x14010db80\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x102, 0x14010db82\njmp     short loc_14010DB97                                            ; +0x108, 0x14010db88\nmov     rax, [rsi]                                                     ; +0x10a, 0x14010db8a\nmov     edx, 1                                                         ; +0x10d, 0x14010db8d\ncall    qword ptr [rax+8]                                              ; +0x112, 0x14010db92\nxor     esi, esi                                                       ; +0x115, 0x14010db95\nmov     rax, [rsi]                                                     ; +0x117, 0x14010db97\nmov     rdx, [rax+428h]                                                ; +0x11a, 0x14010db9a\nlea     rax, SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0x121, 0x14010dba1\nmov     rcx, rsi                                                       ; +0x128, 0x14010dba8\ncmp     rdx, rax                                                       ; +0x12b, 0x14010dbab\njnz     short loc_14010DBC4                                            ; +0x12e, 0x14010dbae\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x130, 0x14010dbb0\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x135, 0x14010dbb5\nadd     rsp, 20h                                                       ; +0x13a, 0x14010dbba\npop     rdi                                                            ; +0x13e, 0x14010dbbe\njmp     SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0x13f, 0x14010dbbf\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x144, 0x14010dbc4\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x149, 0x14010dbc9\nadd     rsp, 20h                                                       ; +0x14e, 0x14010dbce\npop     rdi                                                            ; +0x152, 0x14010dbd2\njmp     rdx                                                            ; +0x153, 0x14010dbd3", "xrefs": ["DeathTrackerPopup::init @ 0x140105a67", "<???> @ 0x140915ac4", "<???> @ 0x140915ad0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}