{"type": "func", "start": 883048, "end": 883096, "name": "sub_D7968", "pseudocode": "// \n// sub_D7968 from 0xd7968 to 0xd7998 (48 bytes)\n// \n// 2 xrefs:\n// > sub_D6B90 @ 0xd6b98\n// > sub_D7870 @ 0xd794c\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_DWORD *__fastcall sub_D7968(_DWORD *result, int a2)\n{\n  int v2; // w8\n  int v3; // w9\n  int v4; // w8\n\n  v2 = a2 / result[6];\n  v3 = result[8] + v2;\n  v4 = result[10] + v2;\n  result[8] = v3 % result[4];\n  result[10] = v4;\n  return result;\n}", "assembly": "; \n; sub_D7968 from 0xd7968 to 0xd7998 (48 bytes)\n; \n; 2 xrefs:\n; > sub_D6B90 @ 0xd6b98\n; > sub_D7870 @ 0xd794c\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             W8, [X0,#0x18]                                         ; +0x0, 0xd7968\nLDR             W9, [X0,#0x20]                                         ; +0x4, 0xd796c\nLDR             W10, [X0,#0x28]                                        ; +0x8, 0xd7970\nLDR             W11, [X0,#0x10]                                        ; +0xc, 0xd7974\nSDIV            W8, W1, W8                                             ; +0x10, 0xd7978\nADD             W9, W9, W8                                             ; +0x14, 0xd797c\nADD             W8, W10, W8                                            ; +0x18, 0xd7980\nSDIV            W10, W9, W11                                           ; +0x1c, 0xd7984\nMSUB            W9, W10, W11, W9                                       ; +0x20, 0xd7988\nSTR             W9, [X0,#0x20]                                         ; +0x24, 0xd798c\nSTR             W8, [X0,#0x28]                                         ; +0x28, 0xd7990\nRET                                                                    ; +0x2c, 0xd7994", "xrefs": ["sub_D6B90 @ 0xd6b98", "sub_D7870 @ 0xd794c"], "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"}