{"type": "func", "start": 4295670408, "end": 4295670460, "name": "GameLevelManager::getDailyTimer", "pseudocode": "// \n// GameLevelManager::getDailyTimer from 0x1000aba88 to 0x1000ababc (52 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::init @ 0x1001b986c\n// > DailyLevelPage::getDailyTime @ 0x1001ba8e0\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  if ( a2 == Event )\n    return a1->m_eventTimeLeft;\n  if ( a2 == 1 )\n    return a1->m_weeklyTimeLeft;\n  if ( a2 )\n    return 0;\n  return a1->m_dailyTimeLeft;\n}", "assembly": "; \n; GameLevelManager::getDailyTimer from 0x1000aba88 to 0x1000ababc (52 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::init @ 0x1001b986c\n; > DailyLevelPage::getDailyTime @ 0x1001ba8e0\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\nCMP             W1, #2                                                 ; +0x0, 0x1000aba88\nB.EQ            loc_1000ABAAC                                          ; +0x4, 0x1000aba8c\nCMP             W1, #1                                                 ; +0x8, 0x1000aba90\nB.EQ            loc_1000ABAA4                                          ; +0xc, 0x1000aba94\nCBNZ            W1, loc_1000ABAB4                                      ; +0x10, 0x1000aba98\nLDR             W0, [X0,#0x1C8]                                        ; +0x14, 0x1000aba9c\nRET                                                                    ; +0x18, 0x1000abaa0\nLDR             W0, [X0,#0x1D4]                                        ; +0x1c, 0x1000abaa4\nRET                                                                    ; +0x20, 0x1000abaa8\nLDR             W0, [X0,#0x1E0]                                        ; +0x24, 0x1000abaac\nRET                                                                    ; +0x28, 0x1000abab0\nMOV             W0, #0                                                 ; +0x2c, 0x1000abab4\nRET                                                                    ; +0x30, 0x1000abab8", "xrefs": ["DailyLevelPage::init @ 0x1001b986c", "DailyLevelPage::getDailyTime @ 0x1001ba8e0"], "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"}