{"type": "func", "start": 1050524, "end": 1050676, "name": "sub_10079C", "pseudocode": "// \n// sub_10079C from 0x10079c to 0x100834 (152 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x118af0\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\nfloat32x4_t *__fastcall sub_10079C(\n        float32x4_t *result,\n        float32x4_t *a2,\n        unsigned int a3,\n        _DWORD *a4,\n        double a5,\n        __int64 a6,\n        __int64 a7,\n        int a8)\n{\n  unsigned int v8; // w8\n  int32x4_t v9; // q1\n  float32x4_t v10; // t1\n  __int64 i; // x8\n  float32x4_t v12; // t1\n  __int64 j; // x8\n\n  LODWORD(a5) = *a4;\n  v8 = a3 >> 2;\n  v9 = vdupq_lane_s32(*(int32x2_t *)&a5, 0);\n  if ( a8 )\n  {\n    for ( ; v8; ++a2 )\n    {\n      v10 = *result++;\n      --v8;\n      *a2 = vmulq_f32(v10, v9);\n    }\n    for ( i = 0; (a3 & 3) != (_DWORD)i; ++i )\n      a2->n128_f32[i] = result->n128_f32[i] * *(float *)&a5;\n  }\n  else\n  {\n    while ( v8 )\n    {\n      v12 = *result++;\n      --v8;\n      *a2 = vmlaq_f32(*a2, v9, v12);\n      ++a2;\n    }\n    for ( j = 0; (a3 & 3) != (_DWORD)j; ++j )\n      a2->n128_f32[j] = a2->n128_f32[j] + (float)(result->n128_f32[j] * *(float *)&a5);\n  }\n  return result;\n}", "assembly": "; \n; sub_10079C from 0x10079c to 0x100834 (152 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x118af0\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             S0, [X3]                                               ; +0x0, 0x10079c\nLSR             W8, W2, #2                                             ; +0x4, 0x1007a0\nDUP             V1.4S, V0.S[0]                                         ; +0x8, 0x1007a4\nCBZ             W6, loc_100804                                         ; +0xc, 0x1007a8\nCBZ             W8, loc_1007C4                                         ; +0x10, 0x1007ac\nLDR             Q2, [X0],#0x10                                         ; +0x14, 0x1007b0\nSUB             W8, W8, #1                                             ; +0x18, 0x1007b4\nFMUL            V2.4S, V2.4S, V1.4S                                    ; +0x1c, 0x1007b8\nSTR             Q2, [X1],#0x10                                         ; +0x20, 0x1007bc\nCBNZ            W8, loc_1007B0                                         ; +0x24, 0x1007c0\nMOV             X8, XZR                                                ; +0x28, 0x1007c4\nAND             X9, X2, #3                                             ; +0x2c, 0x1007c8\nCMP             W9, W8                                                 ; +0x30, 0x1007cc\nB.EQ            locret_100830                                          ; +0x34, 0x1007d0\nLDR             S1, [X0,X8,LSL#2]                                      ; +0x38, 0x1007d4\nFMUL            S1, S1, S0                                             ; +0x3c, 0x1007d8\nSTR             S1, [X1,X8,LSL#2]                                      ; +0x40, 0x1007dc\nADD             X8, X8, #1                                             ; +0x44, 0x1007e0\nB               loc_1007CC                                             ; +0x48, 0x1007e4\nMOV             X9, X1                                                 ; +0x4c, 0x1007e8\nLDR             Q2, [X0],#0x10                                         ; +0x50, 0x1007ec\nLDR             Q3, [X9],#0x10                                         ; +0x54, 0x1007f0\nSUB             W8, W8, #1                                             ; +0x58, 0x1007f4\nFMLA            V3.4S, V1.4S, V2.4S                                    ; +0x5c, 0x1007f8\nSTR             Q3, [X1]                                               ; +0x60, 0x1007fc\nMOV             X1, X9                                                 ; +0x64, 0x100800\nCBNZ            W8, loc_1007E8                                         ; +0x68, 0x100804\nMOV             X8, XZR                                                ; +0x6c, 0x100808\nAND             X9, X2, #3                                             ; +0x70, 0x10080c\nCMP             W9, W8                                                 ; +0x74, 0x100810\nB.EQ            locret_100830                                          ; +0x78, 0x100814\nLDR             S1, [X0,X8,LSL#2]                                      ; +0x7c, 0x100818\nLDR             S2, [X1,X8,LSL#2]                                      ; +0x80, 0x10081c\nFMADD           S1, S1, S0, S2                                         ; +0x84, 0x100820\nSTR             S1, [X1,X8,LSL#2]                                      ; +0x88, 0x100824\nADD             X8, X8, #1                                             ; +0x8c, 0x100828\nB               loc_100810                                             ; +0x90, 0x10082c\nRET                                                                    ; +0x94, 0x100830", "xrefs": ["<???> @ 0x118af0"], "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"}