{"type": "func", "start": 572868, "end": 573202, "name": "sub_8BDC4", "pseudocode": "// \n// sub_8BDC4 from 0x8bdc4 to 0x8bf12 (334 bytes)\n// \n// 0 xrefs:\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\nint __fastcall sub_8BDC4(float *a1, float *a2, int a3, float *a4, int a5, int a6, int a7)\n{\n  float *v10; // r6\n  int result; // r0\n  float v12; // s6\n  float v13; // s4\n  float v14; // s8\n  float v15; // s2\n  float v16; // s0\n  float v17; // s1\n  float v18; // s3\n  float v19; // s12\n  float v20; // s14\n  float v21; // s10\n  float v22; // s8\n  float v23; // s10\n  float v24; // s8\n  float v25; // s1\n  float v26; // s8\n  float v27; // s12\n  float v28; // s8\n  float v29; // s10\n  float v30; // s8\n  float v31; // s12\n  float v32; // s8\n  float v33; // s14\n  float v34; // s8\n  float v35; // s12\n  float v36; // s8\n  float v37; // s14\n  float v38; // s10\n  float v39; // s8\n  float v40; // s12\n  float v41; // s8\n  float v42; // s14\n  float v43; // s10\n\n  v10 = a2;\n  if ( a7 )\n    memset(a2, 0, 24 * a3);\n  result = 0;\n  while ( result < a3 )\n  {\n    v12 = *a1;\n    ++result;\n    v13 = a1[1];\n    v14 = *a4 * *a1;\n    v15 = a1[2];\n    v16 = a1[3];\n    a1 += 4;\n    v17 = a4[34];\n    v18 = a4[35];\n    v19 = v10[1];\n    v20 = v10[2];\n    v21 = a4[33];\n    *v10 = (float)((float)((float)(v14 + (float)(a4[1] * v13)) + (float)(a4[2] * v15)) + (float)(a4[3] * v16)) + *v10;\n    v22 = (float)(a4[32] * v12) + (float)(v21 * v13);\n    v23 = a4[65];\n    v24 = v22 + (float)(v17 * v15);\n    v25 = a4[67];\n    v26 = (float)(v24 + (float)(v18 * v16)) + v19;\n    v27 = a4[66];\n    v10[1] = v26;\n    v28 = (float)(a4[64] * v12) + (float)(v23 * v13);\n    v29 = a4[97];\n    v30 = v28 + (float)(v27 * v15);\n    v31 = a4[98];\n    v32 = (float)(v30 + (float)(v25 * v16)) + v20;\n    v33 = a4[99];\n    v10[2] = v32;\n    v34 = (float)((float)(a4[96] * v12) + (float)(v29 * v13)) + (float)(v31 * v15);\n    v35 = a4[130];\n    v36 = v34 + (float)(v33 * v16);\n    v37 = a4[131];\n    v38 = a4[129];\n    v10[3] = v36 + v10[3];\n    v39 = (float)((float)(a4[128] * v12) + (float)(v38 * v13)) + (float)(v35 * v15);\n    v40 = a4[162];\n    v41 = v39 + (float)(v37 * v16);\n    v42 = a4[163];\n    v43 = a4[161];\n    v10[4] = v41 + v10[4];\n    v10[5] = (float)((float)((float)((float)(a4[160] * v12) + (float)(v43 * v13)) + (float)(v40 * v15))\n                   + (float)(v42 * v16))\n           + v10[5];\n    v10 += 6;\n  }\n  return result;\n}", "assembly": "; \n; sub_8BDC4 from 0x8bdc4 to 0x8bf12 (334 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x8bdc4\nADD             R7, SP, #0xC                                           ; +0x2, 0x8bdc6\nPUSH.W          {R8}                                                   ; +0x4, 0x8bdc8\nMOV             R5, R0                                                 ; +0x8, 0x8bdcc\nLDR             R0, [R7,#-0x10+arg_8]                                  ; +0xa, 0x8bdce\nMOV             R4, R3                                                 ; +0xc, 0x8bdd0\nMOV             R8, R2                                                 ; +0xe, 0x8bdd2\nMOV             R6, R1                                                 ; +0x10, 0x8bdd4\nCBZ             R0, loc_8BDE4                                          ; +0x12, 0x8bdd6\nADD.W           R0, R8, R8,LSL#1                                       ; +0x14, 0x8bdd8\nLSLS            R1, R0, #3                                             ; +0x18, 0x8bddc\nMOV             R0, R6                                                 ; +0x1a, 0x8bdde\nBLX             __aeabi_memclr4                                        ; +0x1c, 0x8bde0\nMOVS            R0, #0                                                 ; +0x20, 0x8bde4\nCMP             R0, R8                                                 ; +0x22, 0x8bde6\nBGE.W           loc_8BF0C                                              ; +0x24, 0x8bde8\nVLDR            S6, [R5]                                               ; +0x28, 0x8bdec\nADDS            R0, #1                                                 ; +0x2c, 0x8bdf0\nVLDR            S8, [R4]                                               ; +0x2e, 0x8bdf2\nVLDR            S4, [R5,#4]                                            ; +0x32, 0x8bdf6\nVMUL.F32        S8, S8, S6                                             ; +0x36, 0x8bdfa\nVLDR            S10, [R4,#4]                                           ; +0x3a, 0x8bdfe\nVLDR            S2, [R5,#8]                                            ; +0x3e, 0x8be02\nVLDR            S12, [R4,#8]                                           ; +0x42, 0x8be06\nVLDR            S0, [R5,#0xC]                                          ; +0x46, 0x8be0a\nADDS            R5, #0x10                                              ; +0x4a, 0x8be0e\nVLDR            S14, [R4,#0xC]                                         ; +0x4c, 0x8be10\nVLDR            S1, [R4,#0x88]                                         ; +0x50, 0x8be14\nVMLA.F32        S8, S10, S4                                            ; +0x54, 0x8be18\nVLDR            S10, [R6]                                              ; +0x58, 0x8be1c\nVLDR            S3, [R4,#0x8C]                                         ; +0x5c, 0x8be20\nVMLA.F32        S8, S12, S2                                            ; +0x60, 0x8be24\nVLDR            S12, [R6,#4]                                           ; +0x64, 0x8be28\nVMLA.F32        S8, S14, S0                                            ; +0x68, 0x8be2c\nVLDR            S14, [R6,#8]                                           ; +0x6c, 0x8be30\nVADD.F32        S8, S8, S10                                            ; +0x70, 0x8be34\nVLDR            S10, [R4,#0x84]                                        ; +0x74, 0x8be38\nVSTR            S8, [R6]                                               ; +0x78, 0x8be3c\nVLDR            S8, [R4,#0x80]                                         ; +0x7c, 0x8be40\nVMUL.F32        S8, S8, S6                                             ; +0x80, 0x8be44\nVMLA.F32        S8, S10, S4                                            ; +0x84, 0x8be48\nVLDR            S10, [R4,#0x104]                                       ; +0x88, 0x8be4c\nVMLA.F32        S8, S1, S2                                             ; +0x8c, 0x8be50\nVLDR            S1, [R4,#0x10C]                                        ; +0x90, 0x8be54\nVMLA.F32        S8, S3, S0                                             ; +0x94, 0x8be58\nVADD.F32        S8, S8, S12                                            ; +0x98, 0x8be5c\nVLDR            S12, [R4,#0x108]                                       ; +0x9c, 0x8be60\nVSTR            S8, [R6,#4]                                            ; +0xa0, 0x8be64\nVLDR            S8, [R4,#0x100]                                        ; +0xa4, 0x8be68\nVMUL.F32        S8, S8, S6                                             ; +0xa8, 0x8be6c\nVMLA.F32        S8, S10, S4                                            ; +0xac, 0x8be70\nVLDR            S10, [R4,#0x184]                                       ; +0xb0, 0x8be74\nVMLA.F32        S8, S12, S2                                            ; +0xb4, 0x8be78\nVLDR            S12, [R4,#0x188]                                       ; +0xb8, 0x8be7c\nVMLA.F32        S8, S1, S0                                             ; +0xbc, 0x8be80\nVADD.F32        S8, S8, S14                                            ; +0xc0, 0x8be84\nVLDR            S14, [R4,#0x18C]                                       ; +0xc4, 0x8be88\nVSTR            S8, [R6,#8]                                            ; +0xc8, 0x8be8c\nVLDR            S8, [R4,#0x180]                                        ; +0xcc, 0x8be90\nVMUL.F32        S8, S8, S6                                             ; +0xd0, 0x8be94\nVMLA.F32        S8, S10, S4                                            ; +0xd4, 0x8be98\nVLDR            S10, [R6,#0xC]                                         ; +0xd8, 0x8be9c\nVMLA.F32        S8, S12, S2                                            ; +0xdc, 0x8bea0\nVLDR            S12, [R4,#0x208]                                       ; +0xe0, 0x8bea4\nVMLA.F32        S8, S14, S0                                            ; +0xe4, 0x8bea8\nVLDR            S14, [R4,#0x20C]                                       ; +0xe8, 0x8beac\nVADD.F32        S8, S8, S10                                            ; +0xec, 0x8beb0\nVLDR            S10, [R4,#0x204]                                       ; +0xf0, 0x8beb4\nVSTR            S8, [R6,#0xC]                                          ; +0xf4, 0x8beb8\nVLDR            S8, [R4,#0x200]                                        ; +0xf8, 0x8bebc\nVMUL.F32        S8, S8, S6                                             ; +0xfc, 0x8bec0\nVMLA.F32        S8, S10, S4                                            ; +0x100, 0x8bec4\nVLDR            S10, [R6,#0x10]                                        ; +0x104, 0x8bec8\nVMLA.F32        S8, S12, S2                                            ; +0x108, 0x8becc\nVLDR            S12, [R4,#0x288]                                       ; +0x10c, 0x8bed0\nVMLA.F32        S8, S14, S0                                            ; +0x110, 0x8bed4\nVLDR            S14, [R4,#0x28C]                                       ; +0x114, 0x8bed8\nVADD.F32        S8, S8, S10                                            ; +0x118, 0x8bedc\nVLDR            S10, [R4,#0x284]                                       ; +0x11c, 0x8bee0\nVSTR            S8, [R6,#0x10]                                         ; +0x120, 0x8bee4\nVLDR            S8, [R4,#0x280]                                        ; +0x124, 0x8bee8\nVMUL.F32        S6, S8, S6                                             ; +0x128, 0x8beec\nVMLA.F32        S6, S10, S4                                            ; +0x12c, 0x8bef0\nVMLA.F32        S6, S12, S2                                            ; +0x130, 0x8bef4\nVMLA.F32        S6, S14, S0                                            ; +0x134, 0x8bef8\nVLDR            S0, [R6,#0x14]                                         ; +0x138, 0x8befc\nVADD.F32        S0, S6, S0                                             ; +0x13c, 0x8bf00\nVSTR            S0, [R6,#0x14]                                         ; +0x140, 0x8bf04\nADDS            R6, #0x18                                              ; +0x144, 0x8bf08\nB               loc_8BDE6                                              ; +0x146, 0x8bf0a\nPOP.W           {R8}                                                   ; +0x148, 0x8bf0c\nPOP             {R4-R7,PC}                                             ; +0x14c, 0x8bf10", "xrefs": [], "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"}