{"type": "func", "start": 4300571856, "end": 4300571900, "name": "GameLevelManager::getActiveDailyID", "pseudocode": "// \n// GameLevelManager::getActiveDailyID from 0x1005584d0 to 0x1005584fc (44 bytes)\n// \n// 5 xrefs:\n// > DailyLevelPage::init @ 0x10021529c\n// > DailyLevelPage::dailyStatusFinished @ 0x100215e8c\n// > DailyLevelPage::levelDownloadFinished @ 0x1002164cb\n// > DailyLevelPage::skipDailyLevel @ 0x100216b99\n// > DailyLevelPage::skipDailyLevel @ 0x100216bb5\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:06 +0000\n// \n\n__int64 __fastcall GameLevelManager::getActiveDailyID(unsigned int *a1, int a2)\n{\n  __int64 result; // rax\n\n  if ( a2 == 2 )\n    return a1[222];\n  if ( a2 == 1 )\n    return a1[219];\n  result = 0;\n  if ( !a2 )\n    return a1[216];\n  return result;\n}", "assembly": "; \n; GameLevelManager::getActiveDailyID from 0x1005584d0 to 0x1005584fc (44 bytes)\n; \n; 5 xrefs:\n; > DailyLevelPage::init @ 0x10021529c\n; > DailyLevelPage::dailyStatusFinished @ 0x100215e8c\n; > DailyLevelPage::levelDownloadFinished @ 0x1002164cb\n; > DailyLevelPage::skipDailyLevel @ 0x100216b99\n; > DailyLevelPage::skipDailyLevel @ 0x100216bb5\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:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005584d0\nmov     rbp, rsp                                                       ; +0x1, 0x1005584d1\ncmp     esi, 2                                                         ; +0x4, 0x1005584d4\njz      short loc_1005584F4                                            ; +0x7, 0x1005584d7\ncmp     esi, 1                                                         ; +0x9, 0x1005584d9\njz      short loc_1005584EC                                            ; +0xc, 0x1005584dc\nxor     eax, eax                                                       ; +0xe, 0x1005584de\ntest    esi, esi                                                       ; +0x10, 0x1005584e0\njnz     short loc_1005584FA                                            ; +0x12, 0x1005584e2\nmov     eax, [rdi+360h]                                                ; +0x14, 0x1005584e4\npop     rbp                                                            ; +0x1a, 0x1005584ea\nretn                                                                   ; +0x1b, 0x1005584eb\nmov     eax, [rdi+36Ch]                                                ; +0x1c, 0x1005584ec\npop     rbp                                                            ; +0x22, 0x1005584f2\nretn                                                                   ; +0x23, 0x1005584f3\nmov     eax, [rdi+378h]                                                ; +0x24, 0x1005584f4\npop     rbp                                                            ; +0x2a, 0x1005584fa\nretn                                                                   ; +0x2b, 0x1005584fb", "xrefs": ["DailyLevelPage::init @ 0x10021529c", "DailyLevelPage::dailyStatusFinished @ 0x100215e8c", "DailyLevelPage::levelDownloadFinished @ 0x1002164cb", "DailyLevelPage::skipDailyLevel @ 0x100216b99", "DailyLevelPage::skipDailyLevel @ 0x100216bb5"], "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"}