{"type": "func", "start": 5369774960, "end": 5369775560, "name": "DeathTrackerPopup::create", "pseudocode": "// \n// DeathTrackerPopup::create from 0x140104370 to 0x1401045c8 (600 bytes)\n// \n// 6 xrefs:\n// > EditLevelLayer::onDeathTracker @ 0x140179d9a\n// > EndLevelLayer::onDeathTracker @ 0x140205c60\n// > LevelInfoLayer::onDeathTracker @ 0x14041ee67\n// > LevelSelectLayer::onDeathTracker @ 0x14044308e\n// > PauseLayer::onSideButtonPressed @ 0x1404d96ee\n// > <???> @ 0x140915a04\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:43 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n_QWORD *__fastcall DeathTrackerPopup::create(__int64 a1)\n{\n  _QWORD *v2; // rdi\n\n  v2 = operator new(0x410u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *v2 = &DeathTrackerPopup::`vftable';\n  v2[40] = &DeathTrackerPopup::`vftable';\n  v2[41] = &DeathTrackerPopup::`vftable';\n  v2[42] = &DeathTrackerPopup::`vftable';\n  v2[43] = &DeathTrackerPopup::`vftable';\n  v2[44] = &DeathTrackerPopup::`vftable';\n  v2[51] = &DeathTrackerPopup::`vftable';\n  v2[54] = &DeathTrackerPopup::`vftable';\n  v2[68] = &DeathTrackerPopup::`vftable';\n  v2[83] = &DeathTrackerPopup::`vftable';\n  v2[84] = &DeathTrackerPopup::`vftable';\n  v2[85] = 0;\n  v2[86] = 0;\n  v2[87] = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 88));\n  v2[89] = 0;\n  v2[90] = 0;\n  *((_DWORD *)v2 + 182) = 0;\n  *((_BYTE *)v2 + 732) = 0;\n  v2[92] = 0;\n  *((_WORD *)v2 + 372) = 0;\n  v2[94] = 0;\n  v2[95] = 0;\n  v2[96] = 0;\n  v2[97] = 0;\n  v2[98] = 0;\n  v2[99] = 0;\n  v2[100] = 0;\n  v2[101] = 0;\n  v2[102] = 0;\n  `eh vector constructor iterator'(v2 + 103, 0x18u, 3u, unknown_libname_732, (void (*)(void *))sub_14003EA90);\n  *((_BYTE *)v2 + 920) = 0;\n  v2[116] = 0;\n  v2[117] = 0;\n  v2[118] = 0;\n  v2[119] = 0;\n  v2[120] = 0;\n  v2[121] = 0;\n  *((_WORD *)v2 + 488) = 0;\n  *((_DWORD *)v2 + 245) = 2;\n  *((_WORD *)v2 + 492) = 0;\n  *((_BYTE *)v2 + 986) = 0;\n  v2[124] = 0;\n  v2[125] = 0;\n  v2[126] = 0;\n  v2[127] = 0;\n  v2[128] = 0;\n  v2[129] = 0;\n  v2[114] = 0;\n  v2[113] = 0;\n  v2[112] = 0;\n  if ( (unsigned __int8)DeathTrackerPopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n    return v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; DeathTrackerPopup::create from 0x140104370 to 0x1401045c8 (600 bytes)\n; \n; 6 xrefs:\n; > EditLevelLayer::onDeathTracker @ 0x140179d9a\n; > EndLevelLayer::onDeathTracker @ 0x140205c60\n; > LevelInfoLayer::onDeathTracker @ 0x14041ee67\n; > LevelSelectLayer::onDeathTracker @ 0x14044308e\n; > PauseLayer::onSideButtonPressed @ 0x1404d96ee\n; > <???> @ 0x140915a04\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:43 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140104370\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140104375\npush    rdi                                                            ; +0xa, 0x14010437a\nsub     rsp, 30h                                                       ; +0xb, 0x14010437b\nmov     rbx, rcx                                                       ; +0xf, 0x14010437f\nmov     ecx, 410h; Size                                                ; +0x12, 0x140104382\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140104387\nmov     rdi, rax                                                       ; +0x1c, 0x14010438c\nmov     [rsp+38h+arg_8], rax                                           ; +0x1f, 0x14010438f\nmov     rcx, rax                                                       ; +0x24, 0x140104394\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x140104397\nnop                                                                    ; +0x2c, 0x14010439c\nlea     rax, ??_7DeathTrackerPopup@@6B@; const DeathTrackerPopup::`vftable' ; +0x2d, 0x14010439d\nmov     [rdi], rax                                                     ; +0x34, 0x1401043a4\nlea     rax, ??_7DeathTrackerPopup@@6B@_0; const DeathTrackerPopup::`vftable' ; +0x37, 0x1401043a7\nmov     [rdi+140h], rax                                                ; +0x3e, 0x1401043ae\nlea     rax, ??_7DeathTrackerPopup@@6B@_1; const DeathTrackerPopup::`vftable' ; +0x45, 0x1401043b5\nmov     [rdi+148h], rax                                                ; +0x4c, 0x1401043bc\nlea     rax, ??_7DeathTrackerPopup@@6B@_2; const DeathTrackerPopup::`vftable' ; +0x53, 0x1401043c3\nmov     [rdi+150h], rax                                                ; +0x5a, 0x1401043ca\nlea     rax, ??_7DeathTrackerPopup@@6B@_3; const DeathTrackerPopup::`vftable' ; +0x61, 0x1401043d1\nmov     [rdi+158h], rax                                                ; +0x68, 0x1401043d8\nlea     rax, ??_7DeathTrackerPopup@@6B@_4; const DeathTrackerPopup::`vftable' ; +0x6f, 0x1401043df\nmov     [rdi+160h], rax                                                ; +0x76, 0x1401043e6\nlea     rax, ??_7DeathTrackerPopup@@6B@_5; const DeathTrackerPopup::`vftable' ; +0x7d, 0x1401043ed\nmov     [rdi+198h], rax                                                ; +0x84, 0x1401043f4\nlea     rax, ??_7DeathTrackerPopup@@6B@_6; const DeathTrackerPopup::`vftable' ; +0x8b, 0x1401043fb\nmov     [rdi+1B0h], rax                                                ; +0x92, 0x140104402\nlea     rax, ??_7DeathTrackerPopup@@6B@_7; const DeathTrackerPopup::`vftable' ; +0x99, 0x140104409\nmov     [rdi+220h], rax                                                ; +0xa0, 0x140104410\nlea     rax, ??_7DeathTrackerPopup@@6B@_8; const DeathTrackerPopup::`vftable' ; +0xa7, 0x140104417\nmov     [rdi+298h], rax                                                ; +0xae, 0x14010441e\nlea     rax, ??_7DeathTrackerPopup@@6B@_9; const DeathTrackerPopup::`vftable' ; +0xb5, 0x140104425\nmov     [rdi+2A0h], rax                                                ; +0xbc, 0x14010442c\nxor     esi, esi                                                       ; +0xc3, 0x140104433\nmov     [rdi+2A8h], rsi                                                ; +0xc5, 0x140104435\nmov     [rdi+2B0h], rsi                                                ; +0xcc, 0x14010443c\nmov     [rdi+2B8h], rsi                                                ; +0xd3, 0x140104443\nlea     rcx, [rdi+2C0h]                                                ; +0xda, 0x14010444a\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xe1, 0x140104451\nmov     [rdi+2C8h], rsi                                                ; +0xe7, 0x140104457\nmov     [rdi+2D0h], rsi                                                ; +0xee, 0x14010445e\nmov     [rdi+2D8h], esi                                                ; +0xf5, 0x140104465\nmov     [rdi+2DCh], sil                                                ; +0xfb, 0x14010446b\nmov     [rdi+2E0h], rsi                                                ; +0x102, 0x140104472\nmov     [rdi+2E8h], si                                                 ; +0x109, 0x140104479\nmov     [rdi+2F0h], rsi                                                ; +0x110, 0x140104480\nmov     [rdi+2F8h], rsi                                                ; +0x117, 0x140104487\nmov     [rdi+300h], rsi                                                ; +0x11e, 0x14010448e\nmov     [rdi+308h], rsi                                                ; +0x125, 0x140104495\nmov     [rdi+310h], rsi                                                ; +0x12c, 0x14010449c\nmov     [rdi+318h], rsi                                                ; +0x133, 0x1401044a3\nmov     [rdi+320h], rsi                                                ; +0x13a, 0x1401044aa\nmov     [rdi+328h], rsi                                                ; +0x141, 0x1401044b1\nmov     [rdi+330h], rsi                                                ; +0x148, 0x1401044b8\nlea     rcx, [rdi+338h]; void *                                        ; +0x14f, 0x1401044bf\nlea     rax, sub_14003EA90                                             ; +0x156, 0x1401044c6\nmov     [rsp+38h+var_18], rax; void (*)(void *)                        ; +0x15d, 0x1401044cd\nlea     r9, unknown_libname_732; void (*)(void *)                      ; +0x162, 0x1401044d2\nmov     edx, 18h; unsigned __int64                                     ; +0x169, 0x1401044d9\nmov     r8d, 3; unsigned __int64                                       ; +0x16e, 0x1401044de\ncall    ??_L@YAXPEAX_K1P6AX0@Z2@Z; `eh vector constructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *),void (*)(void *)) ; +0x174, 0x1401044e4\nmov     [rdi+398h], sil                                                ; +0x179, 0x1401044e9\nmov     [rdi+3A0h], rsi                                                ; +0x180, 0x1401044f0\nmov     [rdi+3A8h], rsi                                                ; +0x187, 0x1401044f7\nmov     [rdi+3B0h], rsi                                                ; +0x18e, 0x1401044fe\nmov     [rdi+3B8h], rsi                                                ; +0x195, 0x140104505\nmov     [rdi+3C0h], rsi                                                ; +0x19c, 0x14010450c\nmov     [rdi+3C8h], rsi                                                ; +0x1a3, 0x140104513\nmov     [rdi+3D0h], si                                                 ; +0x1aa, 0x14010451a\nmov     dword ptr [rdi+3D4h], 2                                        ; +0x1b1, 0x140104521\nmov     [rdi+3D8h], si                                                 ; +0x1bb, 0x14010452b\nmov     [rdi+3DAh], sil                                                ; +0x1c2, 0x140104532\nmov     [rdi+3E0h], rsi                                                ; +0x1c9, 0x140104539\nmov     [rdi+3E8h], rsi                                                ; +0x1d0, 0x140104540\nmov     [rdi+3F0h], rsi                                                ; +0x1d7, 0x140104547\nmov     [rdi+3F8h], rsi                                                ; +0x1de, 0x14010454e\nmov     [rdi+400h], rsi                                                ; +0x1e5, 0x140104555\nmov     [rdi+408h], rsi                                                ; +0x1ec, 0x14010455c\nmov     [rdi+390h], rsi                                                ; +0x1f3, 0x140104563\nmov     [rdi+388h], rsi                                                ; +0x1fa, 0x14010456a\nmov     [rdi+380h], rsi                                                ; +0x201, 0x140104571\nmov     rdx, rbx                                                       ; +0x208, 0x140104578\nmov     rcx, rdi                                                       ; +0x20b, 0x14010457b\ncall    DeathTrackerPopup__init                                        ; +0x20e, 0x14010457e\ntest    al, al                                                         ; +0x213, 0x140104583\njz      short loc_1401045A3                                            ; +0x215, 0x140104585\nmov     rcx, rdi                                                       ; +0x217, 0x140104587\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x21a, 0x14010458a\nmov     rax, rdi                                                       ; +0x220, 0x140104590\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x223, 0x140104593\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x228, 0x140104598\nadd     rsp, 30h                                                       ; +0x22d, 0x14010459d\npop     rdi                                                            ; +0x231, 0x1401045a1\nretn                                                                   ; +0x232, 0x1401045a2\nmov     rcx, [rdi]                                                     ; +0x233, 0x1401045a3\nmov     r8, [rcx+8]                                                    ; +0x236, 0x1401045a6\nmov     edx, 1                                                         ; +0x23a, 0x1401045aa\nmov     rcx, rdi                                                       ; +0x23f, 0x1401045af\ncall    r8                                                             ; +0x242, 0x1401045b2\nmov     rax, rsi                                                       ; +0x245, 0x1401045b5\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x248, 0x1401045b8\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x24d, 0x1401045bd\nadd     rsp, 30h                                                       ; +0x252, 0x1401045c2\npop     rdi                                                            ; +0x256, 0x1401045c6\nretn                                                                   ; +0x257, 0x1401045c7", "xrefs": ["EditLevelLayer::onDeathTracker @ 0x140179d9a", "EndLevelLayer::onDeathTracker @ 0x140205c60", "LevelInfoLayer::onDeathTracker @ 0x14041ee67", "LevelSelectLayer::onDeathTracker @ 0x14044308e", "PauseLayer::onSideButtonPressed @ 0x1404d96ee", "<???> @ 0x140915a04"], "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"}