{"type": "func", "start": 4298520016, "end": 4298520102, "name": "GameManager::verifyStarUnlocks", "pseudocode": "// \n// GameManager::verifyStarUnlocks from 0x1003635d0 to 0x100363626 (86 bytes)\n// \n// 0 xrefs:\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:28:56 +0000\n// \n\nvoid __fastcall GameManager::verifyStarUnlocks(__m128 a1)\n{\n  unsigned int i; // ebx\n  __int64 v2; // rax\n  __int64 MainLevel; // r14\n  __int64 v4; // rax\n  __int64 v5; // rax\n\n  for ( i = 1; i != 23; ++i )\n  {\n    v2 = GameLevelManager::sharedState(*(double *)a1.i64);\n    MainLevel = GameLevelManager::getMainLevel(v2, i, 0);\n    v4 = GameStatsManager::sharedState();\n    if ( GameStatsManager::hasCompletedLevel(v4, MainLevel) )\n    {\n      v5 = GameStatsManager::sharedState();\n      GameStatsManager::completedStarLevel(v5, MainLevel, a1);\n    }\n  }\n}", "assembly": "; \n; GameManager::verifyStarUnlocks from 0x1003635d0 to 0x100363626 (86 bytes)\n; \n; 0 xrefs:\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:28:56 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003635d0\nmov     rbp, rsp                                                       ; +0x1, 0x1003635d1\npush    r14                                                            ; +0x4, 0x1003635d4\npush    rbx                                                            ; +0x6, 0x1003635d6\nmov     ebx, 1                                                         ; +0x7, 0x1003635d7\njmp     short loc_1003635E7                                            ; +0xc, 0x1003635dc\nalign 20h                                                              ; +0xe, 0x1003635de\ninc     ebx                                                            ; +0x10, 0x1003635e0\ncmp     ebx, 17h                                                       ; +0x12, 0x1003635e2\njz      short loc_100363621                                            ; +0x15, 0x1003635e5\ncall    GameLevelManager__sharedState                                  ; +0x17, 0x1003635e7\nmov     rdi, rax                                                       ; +0x1c, 0x1003635ec\nmov     esi, ebx                                                       ; +0x1f, 0x1003635ef\nxor     edx, edx                                                       ; +0x21, 0x1003635f1\ncall    GameLevelManager__getMainLevel                                 ; +0x23, 0x1003635f3\nmov     r14, rax                                                       ; +0x28, 0x1003635f8\ncall    GameStatsManager__sharedState                                  ; +0x2b, 0x1003635fb\nmov     rdi, rax                                                       ; +0x30, 0x100363600\nmov     rsi, r14                                                       ; +0x33, 0x100363603\ncall    GameStatsManager__hasCompletedLevel                            ; +0x36, 0x100363606\ntest    al, al                                                         ; +0x3b, 0x10036360b\njz      short loc_1003635E0                                            ; +0x3d, 0x10036360d\ncall    GameStatsManager__sharedState                                  ; +0x3f, 0x10036360f\nmov     rdi, rax                                                       ; +0x44, 0x100363614\nmov     rsi, r14                                                       ; +0x47, 0x100363617\ncall    GameStatsManager__completedStarLevel                           ; +0x4a, 0x10036361a\njmp     short loc_1003635E0                                            ; +0x4f, 0x10036361f\npop     rbx                                                            ; +0x51, 0x100363621\npop     r14                                                            ; +0x52, 0x100363622\npop     rbp                                                            ; +0x54, 0x100363624\nretn                                                                   ; +0x55, 0x100363625", "xrefs": [], "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"}