{"type": "func", "start": 4300578272, "end": 4300578329, "name": "GameLevelManager::resetDailyLevelState", "pseudocode": "// \n// GameLevelManager::resetDailyLevelState from 0x100559de0 to 0x100559e19 (57 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::init @ 0x100230c17\n// > DailyLevelPage::updateTimers @ 0x1002314ea\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\nvoid __fastcall GameLevelManager::resetDailyLevelState(GameLevelManager *a1, GJTimedLevelType a2)\n{\n  switch ( a2 )\n  {\n    case 2:\n      *(_QWORD *)&a1->m_eventTimeLeft = 0;\n      break;\n    case 1:\n      *(_QWORD *)&a1->m_weeklyTimeLeft = 0;\n      break;\n    case 0:\n      *(_QWORD *)&a1->m_dailyTimeLeft = 0;\n      break;\n  }\n}", "assembly": "; \n; GameLevelManager::resetDailyLevelState from 0x100559de0 to 0x100559e19 (57 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::init @ 0x100230c17\n; > DailyLevelPage::updateTimers @ 0x1002314ea\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, 0x100559de0\nmov     rbp, rsp                                                       ; +0x1, 0x100559de1\ncmp     esi, 2                                                         ; +0x4, 0x100559de4\njz      short loc_100559E0C                                            ; +0x7, 0x100559de7\ncmp     esi, 1                                                         ; +0x9, 0x100559de9\njz      short loc_100559DFF                                            ; +0xc, 0x100559dec\ntest    esi, esi                                                       ; +0xe, 0x100559dee\njnz     short loc_100559E17                                            ; +0x10, 0x100559df0\nmov     qword ptr [rdi+1C8h], 0                                        ; +0x12, 0x100559df2\npop     rbp                                                            ; +0x1d, 0x100559dfd\nretn                                                                   ; +0x1e, 0x100559dfe\nmov     qword ptr [rdi+1D4h], 0                                        ; +0x1f, 0x100559dff\npop     rbp                                                            ; +0x2a, 0x100559e0a\nretn                                                                   ; +0x2b, 0x100559e0b\nmov     qword ptr [rdi+1E0h], 0                                        ; +0x2c, 0x100559e0c\npop     rbp                                                            ; +0x37, 0x100559e17\nretn                                                                   ; +0x38, 0x100559e18", "xrefs": ["DailyLevelPage::init @ 0x100230c17", "DailyLevelPage::updateTimers @ 0x1002314ea"], "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"}