{"type": "func", "start": 3974306, "end": 3974340, "name": "GJMapPack::hasCompletedMapPack", "pseudocode": "// \n// GJMapPack::hasCompletedMapPack from 0x3ca4a2 to 0x3ca4c4 (34 bytes)\n// \n// 3 xrefs:\n// > GJAccountManager::onSyncAccountCompleted @ 0x464b50\n// > GauntletSelectLayer::onPlay @ 0x4d6d70\n// > GauntletNode::generateNode @ 0x4d89fe\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 GJMapPack::hasCompletedMapPack(GJMapPack *a1)\n{\n  int v2; // r0\n  int v3; // r4\n\n  v2 = GJMapPack::totalMaps(a1);\n  if ( v2 )\n  {\n    v3 = GJMapPack::completedMaps(a1);\n    LOBYTE(v2) = v3 >= GJMapPack::totalMaps(a1);\n  }\n  return v2;\n}", "assembly": "; \n; GJMapPack::hasCompletedMapPack from 0x3ca4a2 to 0x3ca4c4 (34 bytes)\n; \n; 3 xrefs:\n; > GJAccountManager::onSyncAccountCompleted @ 0x464b50\n; > GauntletSelectLayer::onPlay @ 0x4d6d70\n; > GauntletNode::generateNode @ 0x4d89fe\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            {R3-R5,LR}                                             ; +0x0, 0x3ca4a2\nMOV             R5, R0                                                 ; +0x2, 0x3ca4a4\nBL              _ZN9GJMapPack9totalMapsEv; GJMapPack::totalMaps(void)  ; +0x4, 0x3ca4a6\nCBZ             R0, locret_3CA4C2                                      ; +0x8, 0x3ca4aa\nMOV             R0, R5; this                                           ; +0xa, 0x3ca4ac\nBL              _ZN9GJMapPack13completedMapsEv; GJMapPack::completedMaps(void) ; +0xc, 0x3ca4ae\nMOV             R4, R0                                                 ; +0x10, 0x3ca4b2\nMOV             R0, R5; this                                           ; +0x12, 0x3ca4b4\nBL              _ZN9GJMapPack9totalMapsEv; GJMapPack::totalMaps(void)  ; +0x14, 0x3ca4b6\nCMP             R4, R0                                                 ; +0x18, 0x3ca4ba\nITE LT                                                                 ; +0x1a, 0x3ca4bc\nMOVLT           R0, #0                                                 ; +0x1c, 0x3ca4be\nMOVGE           R0, #1                                                 ; +0x1e, 0x3ca4c0\nPOP             {R3-R5,PC}                                             ; +0x20, 0x3ca4c2", "xrefs": ["GJAccountManager::onSyncAccountCompleted @ 0x464b50", "GauntletSelectLayer::onPlay @ 0x4d6d70", "GauntletNode::generateNode @ 0x4d89fe"], "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"}