{"type": "func", "start": 689536, "end": 689596, "name": "sub_A8580", "pseudocode": "// \n// sub_A8580 from 0xa8580 to 0xa85bc (60 bytes)\n// \n// 1 xrefs:\n// > sub_A87F0 @ 0xa87f4\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:14:33 +0000\n// \n\n__int64 __fastcall sub_A8580(__int64 a1, int a2)\n{\n  __int64 result; // x0\n\n  if ( !a2 )\n    return 0;\n  if ( *(_QWORD *)(a1 + 856) )\n    return 11;\n  result = sub_A88CC(a1 + 176, a1 + 856);\n  if ( !(_DWORD)result )\n    return 11;\n  return result;\n}", "assembly": "; \n; sub_A8580 from 0xa8580 to 0xa85bc (60 bytes)\n; \n; 1 xrefs:\n; > sub_A87F0 @ 0xa87f4\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:14:33 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xa8580\nMOV             X29, SP                                                ; +0x4, 0xa8584\nCBZ             W1, loc_A85B0                                          ; +0x8, 0xa8588\nLDR             X8, [X0,#0x358]                                        ; +0xc, 0xa858c\nCBNZ            X8, loc_A85A8                                          ; +0x10, 0xa8590\nLDR             X8, [X0,#0xD8]                                         ; +0x14, 0xa8594\nADD             X1, X0, #0x358                                         ; +0x18, 0xa8598\nADD             X0, X0, #0xB0                                          ; +0x1c, 0xa859c\nBL              sub_A88CC                                              ; +0x20, 0xa85a0\nCBNZ            W0, loc_A85B4                                          ; +0x24, 0xa85a4\nMOV             W0, #0xB                                               ; +0x28, 0xa85a8\nB               loc_A85B4                                              ; +0x2c, 0xa85ac\nMOV             W0, WZR                                                ; +0x30, 0xa85b0\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x34, 0xa85b4\nRET                                                                    ; +0x38, 0xa85b8", "xrefs": ["sub_A87F0 @ 0xa87f4"], "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"}