{"type": "func", "start": 4295176304, "end": 4295176398, "name": "GameStatsManager::hasCompletedGauntletLevel", "pseudocode": "// \n// GameStatsManager::hasCompletedGauntletLevel from 0x100033070 to 0x1000330ce (94 bytes)\n// \n// 2 xrefs:\n// > GauntletLayer::setupGauntlet @ 0x10037e3fe\n// > GJMapPack::completedMaps @ 0x10058c9f2\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::hasCompletedGauntletLevel(__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, 0, 0, 1, 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::hasCompletedGauntletLevel from 0x100033070 to 0x1000330ce (94 bytes)\n; \n; 2 xrefs:\n; > GauntletLayer::setupGauntlet @ 0x10037e3fe\n; > GJMapPack::completedMaps @ 0x10058c9f2\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, 0x100033070\nmov     rbp, rsp                                                       ; +0x1, 0x100033071\npush    r14                                                            ; +0x4, 0x100033074\npush    rbx                                                            ; +0x6, 0x100033076\nsub     rsp, 20h                                                       ; +0x7, 0x100033077\nmov     edx, esi                                                       ; +0xb, 0x10003307b\nmov     rbx, [rdi+260h]                                                ; +0xd, 0x10003307d\nmov     [rsp+30h+var_30], 0                                            ; +0x14, 0x100033084\nlea     r14, [rbp+var_28]                                              ; +0x1b, 0x10003308b\nmov     rdi, r14                                                       ; +0x1f, 0x10003308f\nxor     ecx, ecx                                                       ; +0x22, 0x100033092\nxor     r8d, r8d                                                       ; +0x24, 0x100033094\nmov     r9d, 1                                                         ; +0x27, 0x100033097\ncall    GameStatsManager__getLevelKey                                  ; +0x2d, 0x10003309d\nmov     rdi, rbx                                                       ; +0x32, 0x1000330a2\nmov     rsi, r14                                                       ; +0x35, 0x1000330a5\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x38, 0x1000330a8\nmov     rbx, rax                                                       ; +0x3d, 0x1000330ad\ntest    [rbp+var_28], 1                                                ; +0x40, 0x1000330b0\njz      short loc_1000330BF                                            ; +0x44, 0x1000330b4\nmov     rdi, [rbp+__p]; __p                                            ; +0x46, 0x1000330b6\ncall    __ZdlPv; operator delete(void *)                               ; +0x4a, 0x1000330ba\ntest    rbx, rbx                                                       ; +0x4f, 0x1000330bf\nsetnz   al                                                             ; +0x52, 0x1000330c2\nadd     rsp, 20h                                                       ; +0x55, 0x1000330c5\npop     rbx                                                            ; +0x59, 0x1000330c9\npop     r14                                                            ; +0x5a, 0x1000330ca\npop     rbp                                                            ; +0x5c, 0x1000330cc\nretn                                                                   ; +0x5d, 0x1000330cd", "xrefs": ["GauntletLayer::setupGauntlet @ 0x10037e3fe", "GJMapPack::completedMaps @ 0x10058c9f2"], "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"}