{"type": "func", "start": 4300738560, "end": 4300738604, "name": "GameLevelManager::getDailyTimer", "pseudocode": "// \n// GameLevelManager::getDailyTimer from 0x100581000 to 0x10058102c (44 bytes)\n// \n// 3 xrefs:\n// > DailyLevelPage::init @ 0x100215253\n// > DailyLevelPage::updateTimers @ 0x100215a11\n// > DailyLevelPage::getDailyTime @ 0x100216742\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\n__int64 __fastcall GameLevelManager::getDailyTimer(unsigned int *a1, int a2)\n{\n  __int64 result; // rax\n\n  if ( a2 == 2 )\n    return a1[220];\n  if ( a2 == 1 )\n    return a1[217];\n  result = 0;\n  if ( !a2 )\n    return a1[214];\n  return result;\n}", "assembly": "; \n; GameLevelManager::getDailyTimer from 0x100581000 to 0x10058102c (44 bytes)\n; \n; 3 xrefs:\n; > DailyLevelPage::init @ 0x100215253\n; > DailyLevelPage::updateTimers @ 0x100215a11\n; > DailyLevelPage::getDailyTime @ 0x100216742\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, 0x100581000\nmov     rbp, rsp                                                       ; +0x1, 0x100581001\ncmp     esi, 2                                                         ; +0x4, 0x100581004\njz      short loc_100581024                                            ; +0x7, 0x100581007\ncmp     esi, 1                                                         ; +0x9, 0x100581009\njz      short loc_10058101C                                            ; +0xc, 0x10058100c\nxor     eax, eax                                                       ; +0xe, 0x10058100e\ntest    esi, esi                                                       ; +0x10, 0x100581010\njnz     short loc_10058102A                                            ; +0x12, 0x100581012\nmov     eax, [rdi+358h]                                                ; +0x14, 0x100581014\npop     rbp                                                            ; +0x1a, 0x10058101a\nretn                                                                   ; +0x1b, 0x10058101b\nmov     eax, [rdi+364h]                                                ; +0x1c, 0x10058101c\npop     rbp                                                            ; +0x22, 0x100581022\nretn                                                                   ; +0x23, 0x100581023\nmov     eax, [rdi+370h]                                                ; +0x24, 0x100581024\npop     rbp                                                            ; +0x2a, 0x10058102a\nretn                                                                   ; +0x2b, 0x10058102b", "xrefs": ["DailyLevelPage::init @ 0x100215253", "DailyLevelPage::updateTimers @ 0x100215a11", "DailyLevelPage::getDailyTime @ 0x100216742"], "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"}