{"type": "func", "start": 4298959608, "end": 4298959708, "name": "GameStatsManager::hasCompletedOnlineLevel", "pseudocode": "// \n// GameStatsManager::hasCompletedOnlineLevel from 0x1003ceaf8 to 0x1003ceb5c (100 bytes)\n// \n// 2 xrefs:\n// > sub_1000D4D50 @ 0x1000d4db0\n// > sub_1000D6C98 @ 0x1000d6cc0\n// \n// This function is hookable on this platform (idp: arm, 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 11:04:10 +0000\n// \n\nbool __fastcall GameStatsManager::hasCompletedOnlineLevel(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 608);\n  GameStatsManager::getLevelKey(a2, 1, 0, 0, 0, __p);\n  v3 = cocos2d::CCDictionary::objectForKey(v2, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  return v3 != 0;\n}", "assembly": "; \n; GameStatsManager::hasCompletedOnlineLevel from 0x1003ceaf8 to 0x1003ceb5c (100 bytes)\n; \n; 2 xrefs:\n; > sub_1000D4D50 @ 0x1000d4db0\n; > sub_1000D6C98 @ 0x1000d6cc0\n; \n; This function is hookable on this platform (idp: arm, 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 11:04:10 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1003ceaf8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1003ceafc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1003ceb00\nADD             X29, SP, #0x30                                         ; +0xc, 0x1003ceb04\nLDR             X19, [X0,#0x260]                                       ; +0x10, 0x1003ceb08\nADD             X8, SP, #0x30+__p                                      ; +0x14, 0x1003ceb0c\nMOV             W2, #1                                                 ; +0x18, 0x1003ceb10\nMOV             W3, #0                                                 ; +0x1c, 0x1003ceb14\nMOV             W4, #0                                                 ; +0x20, 0x1003ceb18\nMOV             W5, #0                                                 ; +0x24, 0x1003ceb1c\nBL              GameStatsManager__getLevelKey                          ; +0x28, 0x1003ceb20\nADD             X1, SP, #0x30+__p                                      ; +0x2c, 0x1003ceb24\nMOV             X0, X19                                                ; +0x30, 0x1003ceb28\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x34, 0x1003ceb2c\nMOV             X19, X0                                                ; +0x38, 0x1003ceb30\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x3c, 0x1003ceb34\nTBZ             W8, #0x1F, loc_1003CEB44                               ; +0x40, 0x1003ceb38\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x44, 0x1003ceb3c\nBL              __ZdlPv; operator delete(void *)                       ; +0x48, 0x1003ceb40\nCMP             X19, #0                                                ; +0x4c, 0x1003ceb44\nCSET            W0, NE                                                 ; +0x50, 0x1003ceb48\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x54, 0x1003ceb4c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x58, 0x1003ceb50\nADD             SP, SP, #0x40 ; '@'                                    ; +0x5c, 0x1003ceb54\nRET                                                                    ; +0x60, 0x1003ceb58", "xrefs": ["sub_1000D4D50 @ 0x1000d4db0", "sub_1000D6C98 @ 0x1000d6cc0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}