{"type": "func", "start": 4300578336, "end": 4300578394, "name": "GameLevelManager::hasDailyStateBeenLoaded", "pseudocode": "// \n// GameLevelManager::hasDailyStateBeenLoaded from 0x100559e20 to 0x100559e5a (58 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::init @ 0x100230c83\n// > DailyLevelPage::updateTimers @ 0x10023137e\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\nbool __fastcall GameLevelManager::hasDailyStateBeenLoaded(GameLevelManager *a1, GJTimedLevelType a2)\n{\n  if ( a2 == Event )\n    return a1->m_eventTimeLeft > 0;\n  if ( a2 == 1 )\n    return a1->m_weeklyTimeLeft > 0;\n  if ( a2 )\n    return 0;\n  return a1->m_dailyTimeLeft > 0;\n}", "assembly": "; \n; GameLevelManager::hasDailyStateBeenLoaded from 0x100559e20 to 0x100559e5a (58 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::init @ 0x100230c83\n; > DailyLevelPage::updateTimers @ 0x10023137e\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, 0x100559e20\nmov     rbp, rsp                                                       ; +0x1, 0x100559e21\ncmp     esi, 2                                                         ; +0x4, 0x100559e24\njz      short loc_100559E4A                                            ; +0x7, 0x100559e27\ncmp     esi, 1                                                         ; +0x9, 0x100559e29\njz      short loc_100559E3E                                            ; +0xc, 0x100559e2c\ntest    esi, esi                                                       ; +0xe, 0x100559e2e\njnz     short loc_100559E56                                            ; +0x10, 0x100559e30\ncmp     dword ptr [rdi+1C8h], 0                                        ; +0x12, 0x100559e32\nsetnle  al                                                             ; +0x19, 0x100559e39\npop     rbp                                                            ; +0x1c, 0x100559e3c\nretn                                                                   ; +0x1d, 0x100559e3d\ncmp     dword ptr [rdi+1D4h], 0                                        ; +0x1e, 0x100559e3e\nsetnle  al                                                             ; +0x25, 0x100559e45\npop     rbp                                                            ; +0x28, 0x100559e48\nretn                                                                   ; +0x29, 0x100559e49\ncmp     dword ptr [rdi+1E0h], 0                                        ; +0x2a, 0x100559e4a\nsetnle  al                                                             ; +0x31, 0x100559e51\npop     rbp                                                            ; +0x34, 0x100559e54\nretn                                                                   ; +0x35, 0x100559e55\nxor     eax, eax                                                       ; +0x36, 0x100559e56\npop     rbp                                                            ; +0x38, 0x100559e58\nretn                                                                   ; +0x39, 0x100559e59", "xrefs": ["DailyLevelPage::init @ 0x100230c83", "DailyLevelPage::updateTimers @ 0x10023137e"], "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"}