{"type": "func", "start": 526892, "end": 526940, "name": "sub_80A2C", "pseudocode": "// \n// sub_80A2C from 0x80a2c to 0x80a5c (48 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x114ee8\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_80A2C(__int64 a1, int a2, _DWORD *a3, _BYTE *a4)\n{\n  __int64 result; // x0\n\n  result = 31;\n  if ( a2 == 10 && a3 )\n  {\n    result = 0;\n    *a3 = *(unsigned __int8 *)(*(_QWORD *)a1 + 657LL);\n    if ( a4 )\n      *a4 = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_80A2C from 0x80a2c to 0x80a5c (48 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x114ee8\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; \nMOV             X8, X0                                                 ; +0x0, 0x80a2c\nCMP             W1, #0xA                                               ; +0x4, 0x80a30\nMOV             W0, #0x1F                                              ; +0x8, 0x80a34\nB.NE            locret_80A58                                           ; +0xc, 0x80a38\nCBZ             X2, locret_80A58                                       ; +0x10, 0x80a3c\nLDR             X8, [X8]                                               ; +0x14, 0x80a40\nMOV             W0, WZR                                                ; +0x18, 0x80a44\nLDRB            W8, [X8,#0x291]                                        ; +0x1c, 0x80a48\nSTR             W8, [X2]                                               ; +0x20, 0x80a4c\nCBZ             X3, locret_80A58                                       ; +0x24, 0x80a50\nSTRB            WZR, [X3]                                              ; +0x28, 0x80a54\nRET                                                                    ; +0x2c, 0x80a58", "xrefs": ["<???> @ 0x114ee8"], "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"}