{"type": "func", "start": 4300602912, "end": 4300603001, "name": "GJMapPack::hasCompletedMapPack", "pseudocode": "// \n// GJMapPack::hasCompletedMapPack from 0x10055fe20 to 0x10055fe79 (89 bytes)\n// \n// 3 xrefs:\n// > GJAccountManager::onSyncAccountCompleted @ 0x1000d110e\n// > GauntletSelectLayer::onPlay @ 0x1005729fe\n// > GauntletNode::generateNode @ 0x10057514d\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\nbool __fastcall GJMapPack::hasCompletedMapPack(GJMapPack *a1)\n{\n  cocos2d::CCArray *m_levels; // rdi\n  int v3; // ebx\n  int v4; // r15d\n  cocos2d::CCArray *v5; // rdi\n\n  m_levels = a1->m_levels;\n  if ( m_levels )\n  {\n    v3 = 0;\n    if ( (unsigned int)sub_100720070(m_levels) )\n    {\n      v4 = GJMapPack::completedMaps(a1);\n      v5 = a1->m_levels;\n      if ( v5 )\n        v3 = sub_100720070(v5);\n      LOBYTE(v3) = v4 >= v3;\n    }\n  }\n  else\n  {\n    LOBYTE(v3) = 0;\n  }\n  return v3;\n}", "assembly": "; \n; GJMapPack::hasCompletedMapPack from 0x10055fe20 to 0x10055fe79 (89 bytes)\n; \n; 3 xrefs:\n; > GJAccountManager::onSyncAccountCompleted @ 0x1000d110e\n; > GauntletSelectLayer::onPlay @ 0x1005729fe\n; > GauntletNode::generateNode @ 0x10057514d\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, 0x10055fe20\nmov     rbp, rsp                                                       ; +0x1, 0x10055fe21\npush    r15                                                            ; +0x4, 0x10055fe24\npush    r14                                                            ; +0x6, 0x10055fe26\npush    rbx                                                            ; +0x8, 0x10055fe28\npush    rax                                                            ; +0x9, 0x10055fe29\nmov     r14, rdi                                                       ; +0xa, 0x10055fe2a\nmov     rdi, [rdi+140h]                                                ; +0xd, 0x10055fe2d\ntest    rdi, rdi                                                       ; +0x14, 0x10055fe34\njz      short loc_10055FE6A                                            ; +0x17, 0x10055fe37\ncall    sub_100720070                                                  ; +0x19, 0x10055fe39\nxor     ebx, ebx                                                       ; +0x1e, 0x10055fe3e\ntest    eax, eax                                                       ; +0x20, 0x10055fe40\njz      short loc_10055FE6C                                            ; +0x22, 0x10055fe42\nmov     rdi, r14                                                       ; +0x24, 0x10055fe44\ncall    GJMapPack__completedMaps                                       ; +0x27, 0x10055fe47\nmov     r15d, eax                                                      ; +0x2c, 0x10055fe4c\nmov     rdi, [r14+140h]                                                ; +0x2f, 0x10055fe4f\ntest    rdi, rdi                                                       ; +0x36, 0x10055fe56\njz      short loc_10055FE62                                            ; +0x39, 0x10055fe59\ncall    sub_100720070                                                  ; +0x3b, 0x10055fe5b\nmov     ebx, eax                                                       ; +0x40, 0x10055fe60\ncmp     r15d, ebx                                                      ; +0x42, 0x10055fe62\nsetnl   bl                                                             ; +0x45, 0x10055fe65\njmp     short loc_10055FE6C                                            ; +0x48, 0x10055fe68\nxor     ebx, ebx                                                       ; +0x4a, 0x10055fe6a\nmov     eax, ebx                                                       ; +0x4c, 0x10055fe6c\nadd     rsp, 8                                                         ; +0x4e, 0x10055fe6e\npop     rbx                                                            ; +0x52, 0x10055fe72\npop     r14                                                            ; +0x53, 0x10055fe73\npop     r15                                                            ; +0x55, 0x10055fe75\npop     rbp                                                            ; +0x57, 0x10055fe77\nretn                                                                   ; +0x58, 0x10055fe78", "xrefs": ["GJAccountManager::onSyncAccountCompleted @ 0x1000d110e", "GauntletSelectLayer::onPlay @ 0x1005729fe", "GauntletNode::generateNode @ 0x10057514d"], "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"}