{"type": "func", "start": 4300578448, "end": 4300578492, "name": "GameLevelManager::getActiveDailyID", "pseudocode": "// \n// GameLevelManager::getActiveDailyID from 0x100559e90 to 0x100559ebc (44 bytes)\n// \n// 4 xrefs:\n// > DailyLevelPage::init @ 0x100230c2c\n// > DailyLevelPage::dailyStatusFinished @ 0x10023184c\n// > DailyLevelPage::skipDailyLevel @ 0x100232549\n// > DailyLevelPage::skipDailyLevel @ 0x100232565\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::getActiveDailyID(GameLevelManager *a1, GJTimedLevelType a2)\n{\n  int result; // eax\n\n  if ( a2 == Event )\n    return a1->m_activeEventID;\n  if ( a2 == 1 )\n    return a1->m_activeWeeklyID;\n  result = 0;\n  if ( a2 == Daily )\n    return a1->m_activeDailyID;\n  return result;\n}", "assembly": "; \n; GameLevelManager::getActiveDailyID from 0x100559e90 to 0x100559ebc (44 bytes)\n; \n; 4 xrefs:\n; > DailyLevelPage::init @ 0x100230c2c\n; > DailyLevelPage::dailyStatusFinished @ 0x10023184c\n; > DailyLevelPage::skipDailyLevel @ 0x100232549\n; > DailyLevelPage::skipDailyLevel @ 0x100232565\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, 0x100559e90\nmov     rbp, rsp                                                       ; +0x1, 0x100559e91\ncmp     esi, 2                                                         ; +0x4, 0x100559e94\njz      short loc_100559EB4                                            ; +0x7, 0x100559e97\ncmp     esi, 1                                                         ; +0x9, 0x100559e99\njz      short loc_100559EAC                                            ; +0xc, 0x100559e9c\nxor     eax, eax                                                       ; +0xe, 0x100559e9e\ntest    esi, esi                                                       ; +0x10, 0x100559ea0\njnz     short loc_100559EBA                                            ; +0x12, 0x100559ea2\nmov     eax, [rdi+1D0h]                                                ; +0x14, 0x100559ea4\npop     rbp                                                            ; +0x1a, 0x100559eaa\nretn                                                                   ; +0x1b, 0x100559eab\nmov     eax, [rdi+1DCh]                                                ; +0x1c, 0x100559eac\npop     rbp                                                            ; +0x22, 0x100559eb2\nretn                                                                   ; +0x23, 0x100559eb3\nmov     eax, [rdi+1E8h]                                                ; +0x24, 0x100559eb4\npop     rbp                                                            ; +0x2a, 0x100559eba\nretn                                                                   ; +0x2b, 0x100559ebb", "xrefs": ["DailyLevelPage::init @ 0x100230c2c", "DailyLevelPage::dailyStatusFinished @ 0x10023184c", "DailyLevelPage::skipDailyLevel @ 0x100232549", "DailyLevelPage::skipDailyLevel @ 0x100232565"], "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"}