{"type": "func", "start": 424032, "end": 424120, "name": "sub_67860", "pseudocode": "// \n// sub_67860 from 0x67860 to 0x678b8 (88 bytes)\n// \n// 2 xrefs:\n// > sub_67800 @ 0x6783c\n// > sub_78B30 @ 0x79a40\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 12:13:56 +0000\n// \n\n__int64 __fastcall sub_67860(_QWORD *a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  if ( !a2 || (*(_BYTE *)(a2 + 122) & 0x10) != 0 )\n    return 0;\n  if ( *a1 )\n    return 28;\n  result = sub_7B9D0(a2, 13);\n  if ( !(_DWORD)result )\n    *a1 = a2;\n  return result;\n}", "assembly": "; \n; sub_67860 from 0x67860 to 0x678b8 (88 bytes)\n; \n; 2 xrefs:\n; > sub_67800 @ 0x6783c\n; > sub_78B30 @ 0x79a40\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 12:13:56 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x67860\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x67864\nADD             X29, SP, #0x10                                         ; +0x8, 0x67868\nCBZ             X1, loc_67890                                          ; +0xc, 0x6786c\nLDRB            W8, [X1,#0x7A]                                         ; +0x10, 0x67870\nMOV             X19, X1                                                ; +0x14, 0x67874\nTBNZ            W8, #4, loc_67890                                      ; +0x18, 0x67878\nLDR             X8, [X0]                                               ; +0x1c, 0x6787c\nMOV             X20, X0                                                ; +0x20, 0x67880\nCBZ             X8, loc_678A0                                          ; +0x24, 0x67884\nMOV             W0, #0x1C                                              ; +0x28, 0x67888\nB               loc_67894                                              ; +0x2c, 0x6788c\nMOV             W0, WZR                                                ; +0x30, 0x67890\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x67894\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x67898\nRET                                                                    ; +0x3c, 0x6789c\nMOV             W1, #0xD                                               ; +0x40, 0x678a0\nMOV             X0, X19                                                ; +0x44, 0x678a4\nBL              sub_7B9D0                                              ; +0x48, 0x678a8\nCBNZ            W0, loc_67894                                          ; +0x4c, 0x678ac\nSTR             X19, [X20]                                             ; +0x50, 0x678b0\nB               loc_67894                                              ; +0x54, 0x678b4", "xrefs": ["sub_67800 @ 0x6783c", "sub_78B30 @ 0x79a40"], "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"}