{"type": "func", "start": 5370212512, "end": 5370212931, "name": "DailyLevelPage::dDailyLevelPage", "pseudocode": "// \n// DailyLevelPage::dDailyLevelPage from 0x14016f0a0 to 0x14016f243 (419 bytes)\n// \n// 3 xrefs:\n// > sub_140173C84 @ 0x140173c8b\n// > <???> @ 0x1407455e0\n// > <???> @ 0x1409182cc\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:27:30 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall DailyLevelPage::dDailyLevelPage(char *Block, char a2)\n{\n  char *v4; // rdi\n  char *v5; // rsi\n  __int64 v6; // rax\n  void *v7; // rax\n  __int64 v8; // rax\n  void *v9; // rax\n\n  *(_QWORD *)Block = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 40) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 41) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 42) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 43) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 44) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 51) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 54) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 68) = &DailyLevelPage::`vftable';\n  *((_QWORD *)Block + 83) = &DailyLevelPage::`vftable';\n  v4 = Block + 672;\n  *((_QWORD *)Block + 84) = &DailyLevelPage::`vftable';\n  v5 = Block + 680;\n  *((_QWORD *)Block + 85) = &DailyLevelPage::`vftable';\n  v6 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v7 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v6 = qword_14090BFD0;\n  }\n  if ( *(char **)(v6 + 1104) == Block )\n    *(_QWORD *)(v6 + 1104) = 0;\n  v8 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v9 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v9);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v8 = *(_QWORD *)&qword_14090BFB0;\n  }\n  if ( *(char **)(v8 + 1560) == v4 )\n    *(_QWORD *)(v8 + 1560) = 0;\n  if ( *(char **)(v8 + 1360) == v5 )\n    *(_QWORD *)(v8 + 1360) = 0;\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; DailyLevelPage::dDailyLevelPage from 0x14016f0a0 to 0x14016f243 (419 bytes)\n; \n; 3 xrefs:\n; > sub_140173C84 @ 0x140173c8b\n; > <???> @ 0x1407455e0\n; > <???> @ 0x1409182cc\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:27:30 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14016f0a0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14016f0a5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14016f0aa\npush    rdi                                                            ; +0xf, 0x14016f0af\nsub     rsp, 20h                                                       ; +0x10, 0x14016f0b0\nmov     ebp, edx                                                       ; +0x14, 0x14016f0b4\nmov     rbx, rcx                                                       ; +0x16, 0x14016f0b6\nlea     rax, ??_7DailyLevelPage@@6B@; const DailyLevelPage::`vftable'  ; +0x19, 0x14016f0b9\nmov     [rcx], rax                                                     ; +0x20, 0x14016f0c0\nlea     rax, ??_7DailyLevelPage@@6B@_0; const DailyLevelPage::`vftable' ; +0x23, 0x14016f0c3\nmov     [rcx+140h], rax                                                ; +0x2a, 0x14016f0ca\nlea     rax, ??_7DailyLevelPage@@6B@_1; const DailyLevelPage::`vftable' ; +0x31, 0x14016f0d1\nmov     [rcx+148h], rax                                                ; +0x38, 0x14016f0d8\nlea     rax, ??_7DailyLevelPage@@6B@_2; const DailyLevelPage::`vftable' ; +0x3f, 0x14016f0df\nmov     [rcx+150h], rax                                                ; +0x46, 0x14016f0e6\nlea     rax, ??_7DailyLevelPage@@6B@_3; const DailyLevelPage::`vftable' ; +0x4d, 0x14016f0ed\nmov     [rcx+158h], rax                                                ; +0x54, 0x14016f0f4\nlea     rax, ??_7DailyLevelPage@@6B@_4; const DailyLevelPage::`vftable' ; +0x5b, 0x14016f0fb\nmov     [rcx+160h], rax                                                ; +0x62, 0x14016f102\nlea     rax, ??_7DailyLevelPage@@6B@_5; const DailyLevelPage::`vftable' ; +0x69, 0x14016f109\nmov     [rcx+198h], rax                                                ; +0x70, 0x14016f110\nlea     rax, ??_7DailyLevelPage@@6B@_6; const DailyLevelPage::`vftable' ; +0x77, 0x14016f117\nmov     [rcx+1B0h], rax                                                ; +0x7e, 0x14016f11e\nlea     rax, ??_7DailyLevelPage@@6B@_7; const DailyLevelPage::`vftable' ; +0x85, 0x14016f125\nmov     [rcx+220h], rax                                                ; +0x8c, 0x14016f12c\nlea     rax, ??_7DailyLevelPage@@6B@_8; const DailyLevelPage::`vftable' ; +0x93, 0x14016f133\nmov     [rcx+298h], rax                                                ; +0x9a, 0x14016f13a\nlea     rdi, [rcx+2A0h]                                                ; +0xa1, 0x14016f141\nlea     rax, ??_7DailyLevelPage@@6B@_9; const DailyLevelPage::`vftable' ; +0xa8, 0x14016f148\nmov     [rdi], rax                                                     ; +0xaf, 0x14016f14f\nlea     rsi, [rcx+2A8h]                                                ; +0xb2, 0x14016f152\nlea     rax, ??_7DailyLevelPage@@6B@_10; const DailyLevelPage::`vftable' ; +0xb9, 0x14016f159\nmov     [rsi], rax                                                     ; +0xc0, 0x14016f160\nmov     rax, cs:qword_14090BFD0                                        ; +0xc3, 0x14016f163\ntest    rax, rax                                                       ; +0xca, 0x14016f16a\njnz     short loc_14016F19B                                            ; +0xcd, 0x14016f16d\nmov     ecx, 6E8h; Size                                                ; +0xcf, 0x14016f16f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xd4, 0x14016f174\nmov     rcx, rax                                                       ; +0xd9, 0x14016f179\ncall    GameManager__GameManager                                       ; +0xdc, 0x14016f17c\nmov     cs:qword_14090BFD0, rax                                        ; +0xe1, 0x14016f181\nmov     rcx, [rax]                                                     ; +0xe8, 0x14016f188\nmov     rdx, [rcx+48h]                                                 ; +0xeb, 0x14016f18b\nmov     rcx, rax                                                       ; +0xef, 0x14016f18f\ncall    rdx                                                            ; +0xf2, 0x14016f192\nmov     rax, cs:qword_14090BFD0                                        ; +0xf4, 0x14016f194\ncmp     [rax+450h], rbx                                                ; +0xfb, 0x14016f19b\njnz     short loc_14016F1AF                                            ; +0x102, 0x14016f1a2\nmov     qword ptr [rax+450h], 0                                        ; +0x104, 0x14016f1a4\nmov     rax, cs:qword_14090BFB0                                        ; +0x10f, 0x14016f1af\ntest    rax, rax                                                       ; +0x116, 0x14016f1b6\njnz     short loc_14016F1E7                                            ; +0x119, 0x14016f1b9\nmov     ecx, 690h; Size                                                ; +0x11b, 0x14016f1bb\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x120, 0x14016f1c0\nmov     rcx, rax                                                       ; +0x125, 0x14016f1c5\ncall    GameLevelManager__GameLevelManager                             ; +0x128, 0x14016f1c8\nmov     cs:qword_14090BFB0, rax                                        ; +0x12d, 0x14016f1cd\nmov     rcx, [rax]                                                     ; +0x134, 0x14016f1d4\nmov     rdx, [rcx+48h]                                                 ; +0x137, 0x14016f1d7\nmov     rcx, rax                                                       ; +0x13b, 0x14016f1db\ncall    rdx                                                            ; +0x13e, 0x14016f1de\nmov     rax, cs:qword_14090BFB0                                        ; +0x140, 0x14016f1e0\ncmp     [rax+618h], rdi                                                ; +0x147, 0x14016f1e7\njnz     short loc_14016F1FB                                            ; +0x14e, 0x14016f1ee\nmov     qword ptr [rax+618h], 0                                        ; +0x150, 0x14016f1f0\ncmp     [rax+550h], rsi                                                ; +0x15b, 0x14016f1fb\njnz     short loc_14016F20F                                            ; +0x162, 0x14016f202\nmov     qword ptr [rax+550h], 0                                        ; +0x164, 0x14016f204\nmov     rcx, rbx                                                       ; +0x16f, 0x14016f20f\ncall    FLAlertLayer__dFLAlertLayer; Merged with: FLAlertLayer::~FLAlertLayer, DailyRecallUnlockPopup::~DailyRecallUnlockPopup, DemonInfoPopup::~DemonInfoPopup, EditorSoundsSettingsPopup::~EditorSoundsSettingsPopup, GJPathRewardPopup::~GJPathRewardPopup, GJPromoPopup::~GJPromoPopup, LevelStatsInfoPopup::~LevelStatsInfoPopup, NCSInfoLayer::~NCSInfoLayer, NewgroundsInfoLayer::~NewgroundsInfoLayer, SelectSFXSortLayer::~SelectSFXSortLayer, StarInfoPopup::~StarInfoPopup ; +0x172, 0x14016f212\nnop                                                                    ; +0x177, 0x14016f217\ntest    bpl, 1                                                         ; +0x178, 0x14016f218\njz      short loc_14016F22B                                            ; +0x17c, 0x14016f21c\nmov     edx, 2E8h                                                      ; +0x17e, 0x14016f21e\nmov     rcx, rbx; Block                                                ; +0x183, 0x14016f223\ncall    j_j_free                                                       ; +0x186, 0x14016f226\nmov     rax, rbx                                                       ; +0x18b, 0x14016f22b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x18e, 0x14016f22e\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x193, 0x14016f233\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x198, 0x14016f238\nadd     rsp, 20h                                                       ; +0x19d, 0x14016f23d\npop     rdi                                                            ; +0x1a1, 0x14016f241\nretn                                                                   ; +0x1a2, 0x14016f242", "xrefs": ["sub_140173C84 @ 0x140173c8b", "<???> @ 0x1407455e0", "<???> @ 0x1409182cc"], "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"}