{"type": "func", "start": 565576, "end": 565640, "name": "sub_8A148", "pseudocode": "// \n// sub_8A148 from 0x8a148 to 0x8a188 (64 bytes)\n// \n// 2 xrefs:\n// > sub_89F0C @ 0x8a008\n// > sub_89F0C @ 0x8a028\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_8A148(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4)\n{\n  __int64 v5; // x8\n  unsigned int v7; // [xsp+Ch] [xbp-4h] BYREF\n\n  sub_E03B0(*(_QWORD *)(a4 + 368), a2, 1, *(unsigned int *)a3, &v7);\n  v5 = v7;\n  *a3 = v7;\n  return 2 * (unsigned int)(v5 == 0);\n}", "assembly": "; \n; sub_8A148 from 0x8a148 to 0x8a188 (64 bytes)\n; \n; 2 xrefs:\n; > sub_89F0C @ 0x8a008\n; > sub_89F0C @ 0x8a028\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\nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x8a148\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x8a14c\nLDR             X0, [X3,#0x170]                                        ; +0x8, 0x8a150\nLDR             W3, [X2]                                               ; +0xc, 0x8a154\nADD             X29, SP, #0x10                                         ; +0x10, 0x8a158\nMOV             X19, X2                                                ; +0x14, 0x8a15c\nSUB             X4, X29, #-var_4                                       ; +0x18, 0x8a160\nMOV             W2, #1                                                 ; +0x1c, 0x8a164\nBL              sub_E03B0                                              ; +0x20, 0x8a168\nLDUR            W8, [X29,#var_4]                                       ; +0x24, 0x8a16c\nSTR             X8, [X19]                                              ; +0x28, 0x8a170\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x8a174\nCMP             X8, #0                                                 ; +0x30, 0x8a178\nCSET            W9, EQ                                                 ; +0x34, 0x8a17c\nLSL             W0, W9, #1                                             ; +0x38, 0x8a180\nB               loc_8A61C                                              ; +0x3c, 0x8a184", "xrefs": ["sub_89F0C @ 0x8a008", "sub_89F0C @ 0x8a028"], "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"}