{"type": "func", "start": 4300594848, "end": 4300594908, "name": "GameLevelManager::markTimedLevelSeen", "pseudocode": "// \n// GameLevelManager::markTimedLevelSeen from 0x10055dea0 to 0x10055dedc (60 bytes)\n// \n// 3 xrefs:\n// > CreatorLayer::onDailyLevel @ 0x100283563\n// > CreatorLayer::onWeeklyLevel @ 0x1002835b6\n// > CreatorLayer::onEventLevel @ 0x100283606\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:32:08 +0000\n// \n\n__int64 __fastcall GameLevelManager::markTimedLevelSeen(unsigned int *a1, int a2)\n{\n  __int64 result; // rax\n\n  switch ( a2 )\n  {\n    case 2:\n      result = a1[225];\n      a1[231] = result;\n      break;\n    case 1:\n      result = a1[224];\n      a1[230] = result;\n      break;\n    case 0:\n      result = a1[223];\n      a1[229] = result;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; GameLevelManager::markTimedLevelSeen from 0x10055dea0 to 0x10055dedc (60 bytes)\n; \n; 3 xrefs:\n; > CreatorLayer::onDailyLevel @ 0x100283563\n; > CreatorLayer::onWeeklyLevel @ 0x1002835b6\n; > CreatorLayer::onEventLevel @ 0x100283606\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:32:08 +0000\n; \npush    rbp                                                            ; +0x0, 0x10055dea0\nmov     rbp, rsp                                                       ; +0x1, 0x10055dea1\ncmp     esi, 2                                                         ; +0x4, 0x10055dea4\njz      short loc_10055DECE                                            ; +0x7, 0x10055dea7\ncmp     esi, 1                                                         ; +0x9, 0x10055dea9\njz      short loc_10055DEC0                                            ; +0xc, 0x10055deac\ntest    esi, esi                                                       ; +0xe, 0x10055deae\njnz     short loc_10055DEDA                                            ; +0x10, 0x10055deb0\nmov     eax, [rdi+37Ch]                                                ; +0x12, 0x10055deb2\nmov     [rdi+394h], eax                                                ; +0x18, 0x10055deb8\npop     rbp                                                            ; +0x1e, 0x10055debe\nretn                                                                   ; +0x1f, 0x10055debf\nmov     eax, [rdi+380h]                                                ; +0x20, 0x10055dec0\nmov     [rdi+398h], eax                                                ; +0x26, 0x10055dec6\npop     rbp                                                            ; +0x2c, 0x10055decc\nretn                                                                   ; +0x2d, 0x10055decd\nmov     eax, [rdi+384h]                                                ; +0x2e, 0x10055dece\nmov     [rdi+39Ch], eax                                                ; +0x34, 0x10055ded4\npop     rbp                                                            ; +0x3a, 0x10055deda\nretn                                                                   ; +0x3b, 0x10055dedb", "xrefs": ["CreatorLayer::onDailyLevel @ 0x100283563", "CreatorLayer::onWeeklyLevel @ 0x1002835b6", "CreatorLayer::onEventLevel @ 0x100283606"], "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"}