{"type": "func", "start": 4300738448, "end": 4300738506, "name": "GameLevelManager::hasDailyStateBeenLoaded", "pseudocode": "// \n// GameLevelManager::hasDailyStateBeenLoaded from 0x100580f90 to 0x100580fca (58 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::init @ 0x1002152f2\n// > DailyLevelPage::updateTimers @ 0x1002159ce\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:20 +0000\n// \n\nbool __fastcall GameLevelManager::hasDailyStateBeenLoaded(_DWORD *a1, int a2)\n{\n  if ( a2 == 2 )\n    return a1[220] > 0;\n  if ( a2 == 1 )\n    return a1[217] > 0;\n  if ( a2 )\n    return 0;\n  return a1[214] > 0;\n}", "assembly": "; \n; GameLevelManager::hasDailyStateBeenLoaded from 0x100580f90 to 0x100580fca (58 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::init @ 0x1002152f2\n; > DailyLevelPage::updateTimers @ 0x1002159ce\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:20 +0000\n; \npush    rbp                                                            ; +0x0, 0x100580f90\nmov     rbp, rsp                                                       ; +0x1, 0x100580f91\ncmp     esi, 2                                                         ; +0x4, 0x100580f94\njz      short loc_100580FBA                                            ; +0x7, 0x100580f97\ncmp     esi, 1                                                         ; +0x9, 0x100580f99\njz      short loc_100580FAE                                            ; +0xc, 0x100580f9c\ntest    esi, esi                                                       ; +0xe, 0x100580f9e\njnz     short loc_100580FC6                                            ; +0x10, 0x100580fa0\ncmp     dword ptr [rdi+358h], 0                                        ; +0x12, 0x100580fa2\nsetnle  al                                                             ; +0x19, 0x100580fa9\npop     rbp                                                            ; +0x1c, 0x100580fac\nretn                                                                   ; +0x1d, 0x100580fad\ncmp     dword ptr [rdi+364h], 0                                        ; +0x1e, 0x100580fae\nsetnle  al                                                             ; +0x25, 0x100580fb5\npop     rbp                                                            ; +0x28, 0x100580fb8\nretn                                                                   ; +0x29, 0x100580fb9\ncmp     dword ptr [rdi+370h], 0                                        ; +0x2a, 0x100580fba\nsetnle  al                                                             ; +0x31, 0x100580fc1\npop     rbp                                                            ; +0x34, 0x100580fc4\nretn                                                                   ; +0x35, 0x100580fc5\nxor     eax, eax                                                       ; +0x36, 0x100580fc6\npop     rbp                                                            ; +0x38, 0x100580fc8\nretn                                                                   ; +0x39, 0x100580fc9", "xrefs": ["DailyLevelPage::init @ 0x1002152f2", "DailyLevelPage::updateTimers @ 0x1002159ce"], "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"}