{"type": "func", "start": 5369987760, "end": 5369987892, "name": "CreatorLayer::onDailyLevel", "pseudocode": "// \n// CreatorLayer::onDailyLevel from 0x1401382b0 to 0x140138334 (132 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::init @ 0x140135c30\n// > <???> @ 0x140917198\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:05 +0000\n// \n\n// Hidden C++ exception states: #wind=4\n__int64 __fastcall CreatorLayer::onDailyLevel(__int64 a1)\n{\n  __int64 v2; // rdx\n  __int64 v3; // rcx\n  __int64 v4; // rax\n  void *v6; // [rsp+20h] [rbp-18h]\n\n  v2 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v6 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v6);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v2 = *(_QWORD *)&qword_14090BFB0;\n  }\n  *(_DWORD *)(v2 + 1012) = *(_DWORD *)(v2 + 988);\n  v3 = *(_QWORD *)(a1 + 448);\n  if ( v3 )\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 568LL))(v3);\n  v4 = DailyLevelPage::create(0);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1064LL))(v4);\n}", "assembly": "; \n; CreatorLayer::onDailyLevel from 0x1401382b0 to 0x140138334 (132 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::init @ 0x140135c30\n; > <???> @ 0x140917198\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:05 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401382b0\nsub     rsp, 30h                                                       ; +0x2, 0x1401382b2\nmov     rbx, rcx                                                       ; +0x6, 0x1401382b6\nmov     rdx, cs:qword_14090BFB0                                        ; +0x9, 0x1401382b9\ntest    rdx, rdx                                                       ; +0x10, 0x1401382c0\njnz     short loc_1401382F7                                            ; +0x13, 0x1401382c3\nmov     ecx, 690h; Size                                                ; +0x15, 0x1401382c5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1401382ca\nmov     [rsp+38h+var_18], rax                                          ; +0x1f, 0x1401382cf\nmov     rcx, rax                                                       ; +0x24, 0x1401382d4\ncall    GameLevelManager__GameLevelManager                             ; +0x27, 0x1401382d7\nnop                                                                    ; +0x2c, 0x1401382dc\nmov     cs:qword_14090BFB0, rax                                        ; +0x2d, 0x1401382dd\nmov     rcx, [rax]                                                     ; +0x34, 0x1401382e4\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x1401382e7\nmov     rcx, rax                                                       ; +0x3b, 0x1401382eb\ncall    rdx                                                            ; +0x3e, 0x1401382ee\nmov     rdx, cs:qword_14090BFB0                                        ; +0x40, 0x1401382f0\nmov     eax, [rdx+3DCh]                                                ; +0x47, 0x1401382f7\nmov     [rdx+3F4h], eax                                                ; +0x4d, 0x1401382fd\nmov     rcx, [rbx+1C0h]                                                ; +0x53, 0x140138303\ntest    rcx, rcx                                                       ; +0x5a, 0x14013830a\njz      short loc_140138318                                            ; +0x5d, 0x14013830d\nmov     rax, [rcx]                                                     ; +0x5f, 0x14013830f\ncall    qword ptr [rax+238h]                                           ; +0x62, 0x140138312\nxor     ecx, ecx                                                       ; +0x68, 0x140138318\ncall    DailyLevelPage__create                                         ; +0x6a, 0x14013831a\nmov     rcx, [rax]                                                     ; +0x6f, 0x14013831f\nmov     rdx, [rcx+428h]                                                ; +0x72, 0x140138322\nmov     rcx, rax                                                       ; +0x79, 0x140138329\nadd     rsp, 30h                                                       ; +0x7c, 0x14013832c\npop     rbx                                                            ; +0x80, 0x140138330\njmp     rdx                                                            ; +0x81, 0x140138331", "xrefs": ["CreatorLayer::init @ 0x140135c30", "<???> @ 0x140917198"], "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"}