{"type": "func", "start": 4295176176, "end": 4295176270, "name": "GameStatsManager::hasCompletedOnlineLevel", "pseudocode": "// \n// GameStatsManager::hasCompletedOnlineLevel from 0x100032ff0 to 0x10003304e (94 bytes)\n// \n// 2 xrefs:\n// > GJMapPack::completedMaps @ 0x10058c9a0\n// > GJLevelList::completedLevels @ 0x10058f8db\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:19:31 +0000\n// \n\nbool __fastcall GameStatsManager::hasCompletedOnlineLevel(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rbx\n  __int64 v3; // rbx\n  size_t v5[5]; // [rsp+8h] [rbp-28h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 608);\n  GameStatsManager::getLevelKey(v5, a2, a2, 1, 0, 0, 0);\n  v3 = cocos2d::CCDictionary::objectForKey(v2, v5);\n  if ( (v5[0] & 1) != 0 )\n    operator delete((void *)v5[2]);\n  return v3 != 0;\n}", "assembly": "; \n; GameStatsManager::hasCompletedOnlineLevel from 0x100032ff0 to 0x10003304e (94 bytes)\n; \n; 2 xrefs:\n; > GJMapPack::completedMaps @ 0x10058c9a0\n; > GJLevelList::completedLevels @ 0x10058f8db\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:19:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x100032ff0\nmov     rbp, rsp                                                       ; +0x1, 0x100032ff1\npush    r14                                                            ; +0x4, 0x100032ff4\npush    rbx                                                            ; +0x6, 0x100032ff6\nsub     rsp, 20h                                                       ; +0x7, 0x100032ff7\nmov     edx, esi                                                       ; +0xb, 0x100032ffb\nmov     rbx, [rdi+260h]                                                ; +0xd, 0x100032ffd\nmov     [rsp+30h+var_30], 0                                            ; +0x14, 0x100033004\nlea     r14, [rbp+var_28]                                              ; +0x1b, 0x10003300b\nmov     rdi, r14                                                       ; +0x1f, 0x10003300f\nmov     ecx, 1                                                         ; +0x22, 0x100033012\nxor     r8d, r8d                                                       ; +0x27, 0x100033017\nxor     r9d, r9d                                                       ; +0x2a, 0x10003301a\ncall    GameStatsManager__getLevelKey                                  ; +0x2d, 0x10003301d\nmov     rdi, rbx                                                       ; +0x32, 0x100033022\nmov     rsi, r14                                                       ; +0x35, 0x100033025\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x38, 0x100033028\nmov     rbx, rax                                                       ; +0x3d, 0x10003302d\ntest    [rbp+var_28], 1                                                ; +0x40, 0x100033030\njz      short loc_10003303F                                            ; +0x44, 0x100033034\nmov     rdi, [rbp+__p]; __p                                            ; +0x46, 0x100033036\ncall    __ZdlPv; operator delete(void *)                               ; +0x4a, 0x10003303a\ntest    rbx, rbx                                                       ; +0x4f, 0x10003303f\nsetnz   al                                                             ; +0x52, 0x100033042\nadd     rsp, 20h                                                       ; +0x55, 0x100033045\npop     rbx                                                            ; +0x59, 0x100033049\npop     r14                                                            ; +0x5a, 0x10003304a\npop     rbp                                                            ; +0x5c, 0x10003304c\nretn                                                                   ; +0x5d, 0x10003304d", "xrefs": ["GJMapPack::completedMaps @ 0x10058c9a0", "GJLevelList::completedLevels @ 0x10058f8db"], "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"}