{"type": "func", "start": 634848, "end": 634896, "name": "sub_9AFE0", "pseudocode": "// \n// sub_9AFE0 from 0x9afe0 to 0x9b010 (48 bytes)\n// \n// 1 xrefs:\n// > sub_9A4E0 @ 0x9af6c\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_9AFE0(__int64 result, int a2)\n{\n  __int64 v2; // x8\n  int v3; // w9\n\n  v2 = *(_QWORD *)(result + 376) + 18600LL;\n  v3 = *(_DWORD *)v2 - a2;\n  *(_QWORD *)(v2 + 8) = *(_QWORD *)(*(_QWORD *)(result + 376) + 18608LL) + (v3 >> 3);\n  *(_DWORD *)v2 = v3 & 7;\n  return result;\n}", "assembly": "; \n; sub_9AFE0 from 0x9afe0 to 0x9b010 (48 bytes)\n; \n; 1 xrefs:\n; > sub_9A4E0 @ 0x9af6c\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\nLDR             X8, [X0,#0x178]                                        ; +0x0, 0x9afe0\nMOV             W9, #0x48A8                                            ; +0x4, 0x9afe4\nADD             X8, X8, X9                                             ; +0x8, 0x9afe8\nLDR             W9, [X8]                                               ; +0xc, 0x9afec\nLDR             X10, [X8,#8]                                           ; +0x10, 0x9aff0\nSUB             W9, W9, W1                                             ; +0x14, 0x9aff4\nASR             W11, W9, #3                                            ; +0x18, 0x9aff8\nAND             W9, W9, #7                                             ; +0x1c, 0x9affc\nADD             X10, X10, W11,SXTW                                     ; +0x20, 0x9b000\nSTR             X10, [X8,#8]                                           ; +0x24, 0x9b004\nSTR             W9, [X8]                                               ; +0x28, 0x9b008\nRET                                                                    ; +0x2c, 0x9b00c", "xrefs": ["sub_9A4E0 @ 0x9af6c"], "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"}