{"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!\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_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!\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\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_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"}