{"type": "func", "start": 567064, "end": 567100, "name": "sub_8A718", "pseudocode": "// \n// sub_8A718 from 0x8a718 to 0x8a73c (36 bytes)\n// \n// 2 xrefs:\n// > sub_8A640 @ 0x8a660\n// > sub_8A640 @ 0x8a670\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\n__int64 __fastcall sub_8A718(__int64 a1)\n{\n  __int64 v1; // x8\n  __int64 result; // x0\n\n  v1 = *(_QWORD *)(a1 + 376);\n  result = 39;\n  if ( *(_DWORD *)(v1 + 44) == 2 )\n  {\n    if ( *(_BYTE *)(v1 + 40) )\n      return 39;\n    else\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_8A718 from 0x8a718 to 0x8a73c (36 bytes)\n; \n; 2 xrefs:\n; > sub_8A640 @ 0x8a660\n; > sub_8A640 @ 0x8a670\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\nLDR             X8, [X0,#0x178]                                        ; +0x0, 0x8a718\nMOV             W0, #0x27 ; '''                                        ; +0x4, 0x8a71c\nLDR             W9, [X8,#0x2C]                                         ; +0x8, 0x8a720\nCMP             W9, #2                                                 ; +0xc, 0x8a724\nB.NE            locret_8A738                                           ; +0x10, 0x8a728\nLDRB            W8, [X8,#0x28]                                         ; +0x14, 0x8a72c\nCMP             W8, #0                                                 ; +0x18, 0x8a730\nCSEL            W0, WZR, W0, EQ                                        ; +0x1c, 0x8a734\nRET                                                                    ; +0x20, 0x8a738", "xrefs": ["sub_8A640 @ 0x8a660", "sub_8A640 @ 0x8a670"], "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"}