{"type": "func", "start": 4297602544, "end": 4297602620, "name": "CreatorLayer::onEventLevel", "pseudocode": "// \n// CreatorLayer::onEventLevel from 0x1002835f0 to 0x10028363c (76 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x10028246f\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 12:27:44 +0000\n// \n\n__int64 __fastcall CreatorLayer::onEventLevel(__int64 a1, double a2)\n{\n  __int64 v2; // rax\n  __int64 v3; // rdi\n  void *v4; // rax\n\n  v2 = GameLevelManager::sharedState(a2);\n  GameLevelManager::markTimedLevelSeen(v2, 2);\n  v3 = *(_QWORD *)(a1 + 464);\n  if ( v3 )\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 576LL))(v3);\n  v4 = DailyLevelPage::create(2u);\n  return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4);\n}", "assembly": "; \n; CreatorLayer::onEventLevel from 0x1002835f0 to 0x10028363c (76 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x10028246f\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 12:27:44 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002835f0\nmov     rbp, rsp                                                       ; +0x1, 0x1002835f1\npush    rbx                                                            ; +0x4, 0x1002835f4\npush    rax                                                            ; +0x5, 0x1002835f5\nmov     rbx, rdi                                                       ; +0x6, 0x1002835f6\ncall    GameLevelManager__sharedState                                  ; +0x9, 0x1002835f9\nmov     rdi, rax                                                       ; +0xe, 0x1002835fe\nmov     esi, 2                                                         ; +0x11, 0x100283601\ncall    GameLevelManager__markTimedLevelSeen                           ; +0x16, 0x100283606\nmov     rdi, [rbx+1D0h]                                                ; +0x1b, 0x10028360b\ntest    rdi, rdi                                                       ; +0x22, 0x100283612\njz      short loc_100283620                                            ; +0x25, 0x100283615\nmov     rax, [rdi]                                                     ; +0x27, 0x100283617\ncall    qword ptr [rax+240h]                                           ; +0x2a, 0x10028361a\nmov     edi, 2                                                         ; +0x30, 0x100283620\ncall    DailyLevelPage__create                                         ; +0x35, 0x100283625\nmov     rcx, [rax]                                                     ; +0x3a, 0x10028362a\nmov     rdi, rax                                                       ; +0x3d, 0x10028362d\nadd     rsp, 8                                                         ; +0x40, 0x100283630\npop     rbx                                                            ; +0x44, 0x100283634\npop     rbp                                                            ; +0x45, 0x100283635\njmp     qword ptr [rcx+520h]                                           ; +0x46, 0x100283636", "xrefs": ["CreatorLayer::init @ 0x10028246f"], "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"}