{"type": "func", "start": 526868, "end": 526876, "name": "sub_80A14", "pseudocode": "// \n// sub_80A14 from 0x80a14 to 0x80a1c (8 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x114ec0\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:07 +0000\n// \n\n__int64 __fastcall sub_80A14(_QWORD *a1, int a2, int a3)\n{\n  int v3; // w8\n  int v4; // w8\n  unsigned int v5; // w8\n  _DWORD *v6; // x0\n\n  v6 = (_DWORD *)*a1;\n  if ( a2 == 4 )\n  {\n    if ( a3 >= 2 )\n      v4 = 2;\n    else\n      v4 = a3;\n    v6[172] = v4 & ~(v4 >> 31);\n  }\n  else\n  {\n    if ( a2 != 1 )\n      return 31;\n    if ( a3 >= 4 )\n      v3 = 4;\n    else\n      v3 = a3;\n    v6[169] = v3 & ~(v3 >> 31);\n  }\n  v5 = 0;\n  ++v6[161];\n  return v5;\n}", "assembly": "; \n; sub_80A14 from 0x80a14 to 0x80a1c (8 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x114ec0\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:07 +0000\n; \nLDR             X0, [X0]                                               ; +0x0, 0x80a14\nB               loc_803EC                                              ; +0x4, 0x80a18", "xrefs": ["<???> @ 0x114ec0"], "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"}