{"type": "func", "start": 4300509872, "end": 4300509946, "name": "GameLevelManager::getSavedDailyLevelFromLevelID", "pseudocode": "// \n// GameLevelManager::getSavedDailyLevelFromLevelID from 0x1005492b0 to 0x1005492fa (74 bytes)\n// \n// 2 xrefs:\n// > CommentCell::loadFromComment @ 0x10022e51f\n// > CommentCell::loadFromComment @ 0x10022e5f1\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:00 +0000\n// \n\n__int64 __fastcall GameLevelManager::getSavedDailyLevelFromLevelID(__int64 a1, int a2)\n{\n  __int64 v2; // rax\n  __int64 v3; // rcx\n  __int64 result; // rax\n\n  v2 = *(_QWORD *)(a1 + 848);\n  if ( !v2 )\n    return 0;\n  v3 = *(_QWORD *)(v2 + 56);\n  if ( !v3 )\n    return 0;\n  while ( 1 )\n  {\n    result = *(_QWORD *)(v3 + 264);\n    if ( *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) == a2 )\n      break;\n    v3 = *(_QWORD *)(v3 + 288);\n    if ( !v3 )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; GameLevelManager::getSavedDailyLevelFromLevelID from 0x1005492b0 to 0x1005492fa (74 bytes)\n; \n; 2 xrefs:\n; > CommentCell::loadFromComment @ 0x10022e51f\n; > CommentCell::loadFromComment @ 0x10022e5f1\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:00 +0000\n; \nmov     rax, [rdi+350h]                                                ; +0x0, 0x1005492b0\ntest    rax, rax                                                       ; +0x7, 0x1005492b7\njz      short loc_1005492F7                                            ; +0xa, 0x1005492ba\npush    rbp                                                            ; +0xc, 0x1005492bc\nmov     rbp, rsp                                                       ; +0xd, 0x1005492bd\nmov     rcx, [rax+38h]                                                 ; +0x10, 0x1005492c0\ntest    rcx, rcx                                                       ; +0x14, 0x1005492c4\njz      short loc_1005492F3                                            ; +0x17, 0x1005492c7\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x1005492c9\nmov     rax, [rcx+108h]                                                ; +0x20, 0x1005492d0\nmov     edx, [rax+148h]                                                ; +0x27, 0x1005492d7\nsub     edx, [rax+14Ch]                                                ; +0x2d, 0x1005492dd\ncmp     edx, esi                                                       ; +0x33, 0x1005492e3\njz      short loc_1005492F5                                            ; +0x35, 0x1005492e5\nmov     rcx, [rcx+120h]                                                ; +0x37, 0x1005492e7\ntest    rcx, rcx                                                       ; +0x3e, 0x1005492ee\njnz     short loc_1005492D0                                            ; +0x41, 0x1005492f1\nxor     eax, eax                                                       ; +0x43, 0x1005492f3\npop     rbp                                                            ; +0x45, 0x1005492f5\nretn                                                                   ; +0x46, 0x1005492f6\nxor     eax, eax                                                       ; +0x47, 0x1005492f7\nretn                                                                   ; +0x49, 0x1005492f9", "xrefs": ["CommentCell::loadFromComment @ 0x10022e51f", "CommentCell::loadFromComment @ 0x10022e5f1"], "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"}