{"type": "func", "start": 883096, "end": 883156, "name": "sub_D7998", "pseudocode": "// \n// sub_D7998 from 0xd7998 to 0xd79d4 (60 bytes)\n// \n// 2 xrefs:\n// > sub_E98EC @ 0xe9f08\n// > sub_EA0E4 @ 0xea12c\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_D7998(__int64 a1)\n{\n  __int64 v1; // x8\n  int v2; // w9\n  int v3; // w14\n  int v4; // w9\n  __int64 v5; // x8\n\n  v1 = *(int *)(a1 + 32);\n  v2 = *(_DWORD *)(a1 + 8);\n  v3 = v2 + v1;\n  v4 = *(_DWORD *)(a1 + 40) + v2;\n  v5 = *(_QWORD *)a1 + *(int *)(a1 + 24) * v1;\n  *(_DWORD *)(a1 + 32) = v3 % *(_DWORD *)(a1 + 16);\n  *(_DWORD *)(a1 + 40) = v4;\n  return v5;\n}", "assembly": "; \n; sub_D7998 from 0xd7998 to 0xd79d4 (60 bytes)\n; \n; 2 xrefs:\n; > sub_E98EC @ 0xe9f08\n; > sub_EA0E4 @ 0xea12c\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\nLDRSW           X8, [X0,#0x20]                                         ; +0x0, 0xd7998\nLDR             W9, [X0,#8]                                            ; +0x4, 0xd799c\nLDR             W10, [X0,#0x28]                                        ; +0x8, 0xd79a0\nLDR             W13, [X0,#0x10]                                        ; +0xc, 0xd79a4\nLDR             X11, [X0]                                              ; +0x10, 0xd79a8\nLDRSW           X12, [X0,#0x18]                                        ; +0x14, 0xd79ac\nADD             W14, W9, W8                                            ; +0x18, 0xd79b0\nADD             W9, W10, W9                                            ; +0x1c, 0xd79b4\nSDIV            W10, W14, W13                                          ; +0x20, 0xd79b8\nMADD            X8, X12, X8, X11                                       ; +0x24, 0xd79bc\nMSUB            W10, W10, W13, W14                                     ; +0x28, 0xd79c0\nSTR             W10, [X0,#0x20]                                        ; +0x2c, 0xd79c4\nSTR             W9, [X0,#0x28]                                         ; +0x30, 0xd79c8\nMOV             X0, X8                                                 ; +0x34, 0xd79cc\nRET                                                                    ; +0x38, 0xd79d0", "xrefs": ["sub_E98EC @ 0xe9f08", "sub_EA0E4 @ 0xea12c"], "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"}