{"type": "func", "start": 5373061040, "end": 5373061344, "name": "LevelStatsInfoPopup::create", "pseudocode": "// \n// LevelStatsInfoPopup::create from 0x1404267b0 to 0x1404268e0 (304 bytes)\n// \n// 3 xrefs:\n// > EditLevelLayer::onLevelInfo @ 0x140179cdb\n// > LevelInfoLayer::onLevelInfo @ 0x1404246a4\n// > <???> @ 0x1409269c0\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:32:11 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_QWORD *__fastcall LevelStatsInfoPopup::create(__int64 a1)\n{\n  _QWORD *v2; // rdi\n\n  v2 = operator new(0x2E0u);\n  memset(v2, 0, 0x2E0u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *v2 = &LevelStatsInfoPopup::`vftable';\n  v2[40] = &LevelStatsInfoPopup::`vftable';\n  v2[41] = &LevelStatsInfoPopup::`vftable';\n  v2[42] = &LevelStatsInfoPopup::`vftable';\n  v2[43] = &LevelStatsInfoPopup::`vftable';\n  v2[44] = &LevelStatsInfoPopup::`vftable';\n  v2[51] = &LevelStatsInfoPopup::`vftable';\n  v2[54] = &LevelStatsInfoPopup::`vftable';\n  v2[68] = &LevelStatsInfoPopup::`vftable';\n  v2[83] = 0;\n  v2[84] = 0;\n  v2[85] = 0;\n  v2[86] = 0;\n  v2[87] = 0;\n  v2[88] = 0;\n  v2[89] = 0;\n  v2[90] = 0;\n  v2[91] = 0;\n  if ( (unsigned __int8)LevelStatsInfoPopup::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; LevelStatsInfoPopup::create from 0x1404267b0 to 0x1404268e0 (304 bytes)\n; \n; 3 xrefs:\n; > EditLevelLayer::onLevelInfo @ 0x140179cdb\n; > LevelInfoLayer::onLevelInfo @ 0x1404246a4\n; > <???> @ 0x1409269c0\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:32:11 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404267b0\npush    rdi                                                            ; +0x5, 0x1404267b5\nsub     rsp, 20h                                                       ; +0x6, 0x1404267b6\nmov     rbx, rcx                                                       ; +0xa, 0x1404267ba\nmov     ecx, 2E0h; Size                                                ; +0xd, 0x1404267bd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1404267c2\nmov     rdi, rax                                                       ; +0x17, 0x1404267c7\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x1404267ca\nxor     edx, edx; Val                                                  ; +0x1f, 0x1404267cf\nmov     r8d, 2E0h; Size                                                ; +0x21, 0x1404267d1\nmov     rcx, rax; void *                                               ; +0x27, 0x1404267d7\ncall    memset                                                         ; +0x2a, 0x1404267da\nmov     rcx, rdi                                                       ; +0x2f, 0x1404267df\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x32, 0x1404267e2\nlea     rax, ??_7LevelStatsInfoPopup@@6B@; const LevelStatsInfoPopup::`vftable' ; +0x37, 0x1404267e7\nmov     [rdi], rax                                                     ; +0x3e, 0x1404267ee\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_0; const LevelStatsInfoPopup::`vftable' ; +0x41, 0x1404267f1\nmov     [rdi+140h], rax                                                ; +0x48, 0x1404267f8\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_1; const LevelStatsInfoPopup::`vftable' ; +0x4f, 0x1404267ff\nmov     [rdi+148h], rax                                                ; +0x56, 0x140426806\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_2; const LevelStatsInfoPopup::`vftable' ; +0x5d, 0x14042680d\nmov     [rdi+150h], rax                                                ; +0x64, 0x140426814\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_3; const LevelStatsInfoPopup::`vftable' ; +0x6b, 0x14042681b\nmov     [rdi+158h], rax                                                ; +0x72, 0x140426822\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_4; const LevelStatsInfoPopup::`vftable' ; +0x79, 0x140426829\nmov     [rdi+160h], rax                                                ; +0x80, 0x140426830\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_5; const LevelStatsInfoPopup::`vftable' ; +0x87, 0x140426837\nmov     [rdi+198h], rax                                                ; +0x8e, 0x14042683e\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_6; const LevelStatsInfoPopup::`vftable' ; +0x95, 0x140426845\nmov     [rdi+1B0h], rax                                                ; +0x9c, 0x14042684c\nlea     rax, ??_7LevelStatsInfoPopup@@6B@_7; const LevelStatsInfoPopup::`vftable' ; +0xa3, 0x140426853\nmov     [rdi+220h], rax                                                ; +0xaa, 0x14042685a\nxor     eax, eax                                                       ; +0xb1, 0x140426861\nmov     [rdi+298h], rax                                                ; +0xb3, 0x140426863\nmov     [rdi+2A0h], rax                                                ; +0xba, 0x14042686a\nmov     [rdi+2A8h], rax                                                ; +0xc1, 0x140426871\nmov     [rdi+2B0h], rax                                                ; +0xc8, 0x140426878\nmov     [rdi+2B8h], rax                                                ; +0xcf, 0x14042687f\nmov     [rdi+2C0h], rax                                                ; +0xd6, 0x140426886\nmov     [rdi+2C8h], rax                                                ; +0xdd, 0x14042688d\nmov     [rdi+2D0h], rax                                                ; +0xe4, 0x140426894\nmov     [rdi+2D8h], rax                                                ; +0xeb, 0x14042689b\nmov     rdx, rbx                                                       ; +0xf2, 0x1404268a2\nmov     rcx, rdi                                                       ; +0xf5, 0x1404268a5\ncall    LevelStatsInfoPopup__init                                      ; +0xf8, 0x1404268a8\nmov     rcx, rdi                                                       ; +0xfd, 0x1404268ad\ntest    al, al                                                         ; +0x100, 0x1404268b0\njz      short loc_1404268C8                                            ; +0x102, 0x1404268b2\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x104, 0x1404268b4\nmov     rax, rdi                                                       ; +0x10a, 0x1404268ba\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x10d, 0x1404268bd\nadd     rsp, 20h                                                       ; +0x112, 0x1404268c2\npop     rdi                                                            ; +0x116, 0x1404268c6\nretn                                                                   ; +0x117, 0x1404268c7\nmov     rax, [rdi]                                                     ; +0x118, 0x1404268c8\nmov     edx, 1                                                         ; +0x11b, 0x1404268cb\ncall    qword ptr [rax+8]                                              ; +0x120, 0x1404268d0\nxor     eax, eax                                                       ; +0x123, 0x1404268d3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x125, 0x1404268d5\nadd     rsp, 20h                                                       ; +0x12a, 0x1404268da\npop     rdi                                                            ; +0x12e, 0x1404268de\nretn                                                                   ; +0x12f, 0x1404268df", "xrefs": ["EditLevelLayer::onLevelInfo @ 0x140179cdb", "LevelInfoLayer::onLevelInfo @ 0x1404246a4", "<???> @ 0x1409269c0"], "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"}