{"type": "func", "start": 382724, "end": 382816, "name": "sub_5D704", "pseudocode": "// \n// sub_5D704 from 0x5d704 to 0x5d760 (92 bytes)\n// \n// 3 xrefs:\n// > sub_5D5B4 @ 0x5d60c\n// > sub_5EFBC @ 0x5f064\n// > sub_5EFBC @ 0x5f074\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\nfloat __fastcall sub_5D704(float *a1, float *a2, float *a3)\n{\n  float v3; // s3\n  float v4; // s5\n  float v5; // s0\n  float result; // s0\n\n  v3 = a2[1];\n  v4 = a2[2];\n  *a3 = (float)((float)(*a2 * *a1) + (float)(v3 * a1[1])) + (float)(v4 * a1[2]);\n  v5 = *a2;\n  a3[1] = (float)((float)(*a2 * a1[4]) + (float)(a1[5] * v3)) + (float)(a1[6] * v4);\n  result = (float)((float)(a1[8] * v5) + (float)(a2[1] * a1[9])) + (float)(a1[10] * v4);\n  a3[2] = result;\n  return result;\n}", "assembly": "; \n; sub_5D704 from 0x5d704 to 0x5d760 (92 bytes)\n; \n; 3 xrefs:\n; > sub_5D5B4 @ 0x5d60c\n; > sub_5EFBC @ 0x5f064\n; > sub_5EFBC @ 0x5f074\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\nLDP             S0, S1, [X0]                                           ; +0x0, 0x5d704\nLDP             S2, S3, [X1]                                           ; +0x4, 0x5d708\nLDR             S4, [X0,#8]                                            ; +0x8, 0x5d70c\nLDR             S5, [X1,#8]                                            ; +0xc, 0x5d710\nFMUL            S0, S2, S0                                             ; +0x10, 0x5d714\nFMADD           S0, S3, S1, S0                                         ; +0x14, 0x5d718\nFMADD           S0, S5, S4, S0                                         ; +0x18, 0x5d71c\nSTR             S0, [X2]                                               ; +0x1c, 0x5d720\nLDR             S0, [X1]                                               ; +0x20, 0x5d724\nLDP             S1, S2, [X0,#0x10]                                     ; +0x24, 0x5d728\nLDR             S4, [X0,#0x18]                                         ; +0x28, 0x5d72c\nFMUL            S1, S0, S1                                             ; +0x2c, 0x5d730\nFMADD           S1, S2, S3, S1                                         ; +0x30, 0x5d734\nFMADD           S1, S4, S5, S1                                         ; +0x34, 0x5d738\nSTR             S1, [X2,#4]                                            ; +0x38, 0x5d73c\nLDP             S1, S2, [X0,#0x20]                                     ; +0x3c, 0x5d740\nLDR             S3, [X1,#4]                                            ; +0x40, 0x5d744\nLDR             S4, [X0,#0x28]                                         ; +0x44, 0x5d748\nFMUL            S0, S1, S0                                             ; +0x48, 0x5d74c\nFMADD           S0, S3, S2, S0                                         ; +0x4c, 0x5d750\nFMADD           S0, S4, S5, S0                                         ; +0x50, 0x5d754\nSTR             S0, [X2,#8]                                            ; +0x54, 0x5d758\nRET                                                                    ; +0x58, 0x5d75c", "xrefs": ["sub_5D5B4 @ 0x5d60c", "sub_5EFBC @ 0x5f064", "sub_5EFBC @ 0x5f074"], "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"}