{"type": "func", "start": 4300578496, "end": 4300578540, "name": "GameLevelManager::getDailyTimer", "pseudocode": "// \n// GameLevelManager::getDailyTimer from 0x100559ec0 to 0x100559eec (44 bytes)\n// \n// 3 xrefs:\n// > DailyLevelPage::init @ 0x100230bd4\n// > DailyLevelPage::updateTimers @ 0x1002313cc\n// > DailyLevelPage::getDailyTime @ 0x1002320fd\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall GameLevelManager::getDailyTimer(GameLevelManager *a1, GJTimedLevelType a2)\n{\n  int result; // eax\n\n  if ( a2 == Event )\n    return a1->m_eventTimeLeft;\n  if ( a2 == 1 )\n    return a1->m_weeklyTimeLeft;\n  result = 0;\n  if ( a2 == Daily )\n    return a1->m_dailyTimeLeft;\n  return result;\n}", "assembly": "; \n; GameLevelManager::getDailyTimer from 0x100559ec0 to 0x100559eec (44 bytes)\n; \n; 3 xrefs:\n; > DailyLevelPage::init @ 0x100230bd4\n; > DailyLevelPage::updateTimers @ 0x1002313cc\n; > DailyLevelPage::getDailyTime @ 0x1002320fd\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100559ec0\nmov     rbp, rsp                                                       ; +0x1, 0x100559ec1\ncmp     esi, 2                                                         ; +0x4, 0x100559ec4\njz      short loc_100559EE4                                            ; +0x7, 0x100559ec7\ncmp     esi, 1                                                         ; +0x9, 0x100559ec9\njz      short loc_100559EDC                                            ; +0xc, 0x100559ecc\nxor     eax, eax                                                       ; +0xe, 0x100559ece\ntest    esi, esi                                                       ; +0x10, 0x100559ed0\njnz     short loc_100559EEA                                            ; +0x12, 0x100559ed2\nmov     eax, [rdi+1C8h]                                                ; +0x14, 0x100559ed4\npop     rbp                                                            ; +0x1a, 0x100559eda\nretn                                                                   ; +0x1b, 0x100559edb\nmov     eax, [rdi+1D4h]                                                ; +0x1c, 0x100559edc\npop     rbp                                                            ; +0x22, 0x100559ee2\nretn                                                                   ; +0x23, 0x100559ee3\nmov     eax, [rdi+1E0h]                                                ; +0x24, 0x100559ee4\npop     rbp                                                            ; +0x2a, 0x100559eea\nretn                                                                   ; +0x2b, 0x100559eeb", "xrefs": ["DailyLevelPage::init @ 0x100230bd4", "DailyLevelPage::updateTimers @ 0x1002313cc", "DailyLevelPage::getDailyTime @ 0x1002320fd"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}