{"type": "func", "start": 4300395056, "end": 4300395156, "name": "GameLevelManager::getLocalLevelList", "pseudocode": "// \n// GameLevelManager::getLocalLevelList from 0x10052d230 to 0x10052d294 (100 bytes)\n// \n// 0 xrefs:\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\nGJLevelList *__fastcall GameLevelManager::getLocalLevelList(GameLevelManager *a1, int a2)\n{\n  cocos2d::CCArray *m_localLists; // r15\n  GJLevelList *v3; // r14\n  unsigned int v4; // r12d\n  GJLevelList *v5; // rax\n\n  m_localLists = LocalLevelManager::sharedState()->m_localLists;\n  v3 = nullptr;\n  if ( (unsigned int)sub_100720070(m_localLists) )\n  {\n    v4 = 0;\n    while ( 1 )\n    {\n      v5 = (GJLevelList *)sub_1007200C0(m_localLists, v4);\n      if ( v5->m_M_ID == a2 )\n        break;\n      if ( ++v4 >= (unsigned int)sub_100720070(m_localLists) )\n        return v3;\n    }\n    return v5;\n  }\n  return v3;\n}", "assembly": "; \n; GameLevelManager::getLocalLevelList from 0x10052d230 to 0x10052d294 (100 bytes)\n; \n; 0 xrefs:\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, 0x10052d230\nmov     rbp, rsp                                                       ; +0x1, 0x10052d231\npush    r15                                                            ; +0x4, 0x10052d234\npush    r14                                                            ; +0x6, 0x10052d236\npush    r12                                                            ; +0x8, 0x10052d238\npush    rbx                                                            ; +0xa, 0x10052d23a\nmov     ebx, esi                                                       ; +0xb, 0x10052d23b\ncall    LocalLevelManager__sharedState                                 ; +0xd, 0x10052d23d\nmov     r15, [rax+168h]                                                ; +0x12, 0x10052d242\nmov     rdi, r15                                                       ; +0x19, 0x10052d249\ncall    sub_100720070                                                  ; +0x1c, 0x10052d24c\nxor     r14d, r14d                                                     ; +0x21, 0x10052d251\ntest    eax, eax                                                       ; +0x24, 0x10052d254\njz      short loc_10052D288                                            ; +0x26, 0x10052d256\nxor     r12d, r12d                                                     ; +0x28, 0x10052d258\nnop     dword ptr [rax+rax+00h]                                        ; +0x2b, 0x10052d25b\nmov     rdi, r15                                                       ; +0x30, 0x10052d260\nmov     esi, r12d                                                      ; +0x33, 0x10052d263\ncall    sub_1007200C0                                                  ; +0x36, 0x10052d266\ncmp     [rax+21Ch], ebx                                                ; +0x3b, 0x10052d26b\njz      short loc_10052D285                                            ; +0x41, 0x10052d271\ninc     r12d                                                           ; +0x43, 0x10052d273\nmov     rdi, r15                                                       ; +0x46, 0x10052d276\ncall    sub_100720070                                                  ; +0x49, 0x10052d279\ncmp     r12d, eax                                                      ; +0x4e, 0x10052d27e\njb      short loc_10052D260                                            ; +0x51, 0x10052d281\njmp     short loc_10052D288                                            ; +0x53, 0x10052d283\nmov     r14, rax                                                       ; +0x55, 0x10052d285\nmov     rax, r14                                                       ; +0x58, 0x10052d288\npop     rbx                                                            ; +0x5b, 0x10052d28b\npop     r12                                                            ; +0x5c, 0x10052d28c\npop     r14                                                            ; +0x5e, 0x10052d28e\npop     r15                                                            ; +0x60, 0x10052d290\npop     rbp                                                            ; +0x62, 0x10052d292\nretn                                                                   ; +0x63, 0x10052d293", "xrefs": [], "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"}