{"type": "func", "start": 574216, "end": 574654, "name": "sub_8C308", "pseudocode": "// \n// sub_8C308 from 0x8c308 to 0x8c4be (438 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:41:23 +0000\n// \n\nint __fastcall sub_8C308(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; // s10\n  float v13; // s8\n  float v14; // s6\n  float v15; // s4\n  float v16; // s2\n  float v17; // s12\n  float v18; // s0\n  float v19; // s9\n  float v20; // s1\n  float v21; // s3\n  float v22; // s5\n  float v23; // s7\n  float v24; // s14\n  float v25; // s12\n  float v26; // s14\n  float v27; // s12\n  float v28; // s3\n  float v29; // s12\n  float v30; // s5\n  float v31; // s12\n  float v32; // s7\n  float v33; // s12\n  float v34; // s1\n  float v35; // s12\n  float v36; // s1\n  float v37; // s12\n  float v38; // s3\n  float v39; // s12\n  float v40; // s5\n  float v41; // s12\n  float v42; // s7\n  float v43; // s14\n  float v44; // s12\n  float v45; // s1\n  float v46; // s12\n  float v47; // s3\n  float v48; // s12\n  float v49; // s5\n  float v50; // s12\n  float v51; // s7\n  float v52; // s14\n  float v53; // s12\n  float v54; // s1\n  float v55; // s12\n  float v56; // s3\n  float v57; // s12\n  float v58; // s5\n  float v59; // s12\n  float v60; // s7\n  float v61; // s14\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 = a1[2];\n    v15 = a1[3];\n    v16 = a1[4];\n    v17 = (float)(*a4 * *a1) + (float)(a4[1] * v13);\n    v18 = a1[5];\n    a1 += 6;\n    v19 = a4[37];\n    v20 = v10[1];\n    v21 = a4[34];\n    v22 = a4[35];\n    v23 = a4[36];\n    v24 = a4[33];\n    *v10 = (float)((float)((float)((float)(v17 + (float)(a4[2] * v14)) + (float)(a4[3] * v15)) + (float)(a4[4] * v16))\n                 + (float)(a4[5] * v18))\n         + *v10;\n    v25 = (float)(a4[32] * v12) + (float)(v24 * v13);\n    v26 = a4[65];\n    v27 = v25 + (float)(v21 * v14);\n    v28 = a4[67];\n    v29 = v27 + (float)(v22 * v15);\n    v30 = a4[68];\n    v31 = v29 + (float)(v23 * v16);\n    v32 = a4[69];\n    v33 = (float)(v31 + (float)(v19 * v18)) + v20;\n    v34 = a4[66];\n    v10[1] = v33;\n    v35 = (float)((float)(a4[64] * v12) + (float)(v26 * v13)) + (float)(v34 * v14);\n    v36 = a4[98];\n    v37 = v35 + (float)(v28 * v15);\n    v38 = a4[99];\n    v39 = v37 + (float)(v30 * v16);\n    v40 = a4[100];\n    v41 = v39 + (float)(v32 * v18);\n    v42 = a4[101];\n    v43 = a4[97];\n    v10[2] = v41 + v10[2];\n    v44 = (float)((float)(a4[96] * v12) + (float)(v43 * v13)) + (float)(v36 * v14);\n    v45 = a4[130];\n    v46 = v44 + (float)(v38 * v15);\n    v47 = a4[131];\n    v48 = v46 + (float)(v40 * v16);\n    v49 = a4[132];\n    v50 = v48 + (float)(v42 * v18);\n    v51 = a4[133];\n    v52 = a4[129];\n    v10[3] = v50 + v10[3];\n    v53 = (float)((float)(a4[128] * v12) + (float)(v52 * v13)) + (float)(v45 * v14);\n    v54 = a4[162];\n    v55 = v53 + (float)(v47 * v15);\n    v56 = a4[163];\n    v57 = v55 + (float)(v49 * v16);\n    v58 = a4[164];\n    v59 = v57 + (float)(v51 * v18);\n    v60 = a4[165];\n    v61 = a4[161];\n    v10[4] = v59 + v10[4];\n    v10[5] = (float)((float)((float)((float)((float)((float)(a4[160] * v12) + (float)(v61 * v13)) + (float)(v54 * v14))\n                                   + (float)(v56 * v15))\n                           + (float)(v58 * v16))\n                   + (float)(v60 * v18))\n           + v10[5];\n    v10 += 6;\n  }\n  return result;\n}", "assembly": "; \n; sub_8C308 from 0x8c308 to 0x8c4be (438 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:41:23 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x8c308\nADD             R7, SP, #0xC                                           ; +0x2, 0x8c30a\nPUSH.W          {R8}                                                   ; +0x4, 0x8c30c\nMOV             R5, R0                                                 ; +0x8, 0x8c310\nLDR             R0, [R7,#-0x10+arg_8]                                  ; +0xa, 0x8c312\nMOV             R4, R3                                                 ; +0xc, 0x8c314\nMOV             R8, R2                                                 ; +0xe, 0x8c316\nMOV             R6, R1                                                 ; +0x10, 0x8c318\nCBZ             R0, loc_8C328                                          ; +0x12, 0x8c31a\nADD.W           R0, R8, R8,LSL#1                                       ; +0x14, 0x8c31c\nLSLS            R1, R0, #3                                             ; +0x18, 0x8c320\nMOV             R0, R6                                                 ; +0x1a, 0x8c322\nBLX             __aeabi_memclr4                                        ; +0x1c, 0x8c324\nMOVS            R0, #0                                                 ; +0x20, 0x8c328\nCMP             R0, R8                                                 ; +0x22, 0x8c32a\nBGE.W           loc_8C4B8                                              ; +0x24, 0x8c32c\nVLDR            S10, [R5]                                              ; +0x28, 0x8c330\nADDS            R0, #1                                                 ; +0x2c, 0x8c334\nVLDR            S12, [R4]                                              ; +0x2e, 0x8c336\nVLDR            S8, [R5,#4]                                            ; +0x32, 0x8c33a\nVMUL.F32        S12, S12, S10                                          ; +0x36, 0x8c33e\nVLDR            S14, [R4,#4]                                           ; +0x3a, 0x8c342\nVLDR            S6, [R5,#8]                                            ; +0x3e, 0x8c346\nVLDR            S1, [R4,#8]                                            ; +0x42, 0x8c34a\nVLDR            S4, [R5,#0xC]                                          ; +0x46, 0x8c34e\nVLDR            S3, [R4,#0xC]                                          ; +0x4a, 0x8c352\nVLDR            S2, [R5,#0x10]                                         ; +0x4e, 0x8c356\nVMLA.F32        S12, S14, S8                                           ; +0x52, 0x8c35a\nVLDR            S5, [R4,#0x10]                                         ; +0x56, 0x8c35e\nVLDR            S0, [R5,#0x14]                                         ; +0x5a, 0x8c362\nADDS            R5, #0x18                                              ; +0x5e, 0x8c366\nVLDR            S7, [R4,#0x14]                                         ; +0x60, 0x8c368\nVLDR            S14, [R6]                                              ; +0x64, 0x8c36c\nVLDR            S9, [R4,#0x94]                                         ; +0x68, 0x8c370\nVMLA.F32        S12, S1, S6                                            ; +0x6c, 0x8c374\nVLDR            S1, [R6,#4]                                            ; +0x70, 0x8c378\nVMLA.F32        S12, S3, S4                                            ; +0x74, 0x8c37c\nVLDR            S3, [R4,#0x88]                                         ; +0x78, 0x8c380\nVMLA.F32        S12, S5, S2                                            ; +0x7c, 0x8c384\nVLDR            S5, [R4,#0x8C]                                         ; +0x80, 0x8c388\nVMLA.F32        S12, S7, S0                                            ; +0x84, 0x8c38c\nVLDR            S7, [R4,#0x90]                                         ; +0x88, 0x8c390\nVADD.F32        S12, S12, S14                                          ; +0x8c, 0x8c394\nVLDR            S14, [R4,#0x84]                                        ; +0x90, 0x8c398\nVSTR            S12, [R6]                                              ; +0x94, 0x8c39c\nVLDR            S12, [R4,#0x80]                                        ; +0x98, 0x8c3a0\nVMUL.F32        S12, S12, S10                                          ; +0x9c, 0x8c3a4\nVMLA.F32        S12, S14, S8                                           ; +0xa0, 0x8c3a8\nVLDR            S14, [R4,#0x104]                                       ; +0xa4, 0x8c3ac\nVMLA.F32        S12, S3, S6                                            ; +0xa8, 0x8c3b0\nVLDR            S3, [R4,#0x10C]                                        ; +0xac, 0x8c3b4\nVMLA.F32        S12, S5, S4                                            ; +0xb0, 0x8c3b8\nVLDR            S5, [R4,#0x110]                                        ; +0xb4, 0x8c3bc\nVMLA.F32        S12, S7, S2                                            ; +0xb8, 0x8c3c0\nVLDR            S7, [R4,#0x114]                                        ; +0xbc, 0x8c3c4\nVMLA.F32        S12, S9, S0                                            ; +0xc0, 0x8c3c8\nVADD.F32        S12, S12, S1                                           ; +0xc4, 0x8c3cc\nVLDR            S1, [R4,#0x108]                                        ; +0xc8, 0x8c3d0\nVSTR            S12, [R6,#4]                                           ; +0xcc, 0x8c3d4\nVLDR            S12, [R4,#0x100]                                       ; +0xd0, 0x8c3d8\nVMUL.F32        S12, S12, S10                                          ; +0xd4, 0x8c3dc\nVMLA.F32        S12, S14, S8                                           ; +0xd8, 0x8c3e0\nVLDR            S14, [R6,#8]                                           ; +0xdc, 0x8c3e4\nVMLA.F32        S12, S1, S6                                            ; +0xe0, 0x8c3e8\nVLDR            S1, [R4,#0x188]                                        ; +0xe4, 0x8c3ec\nVMLA.F32        S12, S3, S4                                            ; +0xe8, 0x8c3f0\nVLDR            S3, [R4,#0x18C]                                        ; +0xec, 0x8c3f4\nVMLA.F32        S12, S5, S2                                            ; +0xf0, 0x8c3f8\nVLDR            S5, [R4,#0x190]                                        ; +0xf4, 0x8c3fc\nVMLA.F32        S12, S7, S0                                            ; +0xf8, 0x8c400\nVLDR            S7, [R4,#0x194]                                        ; +0xfc, 0x8c404\nVADD.F32        S12, S12, S14                                          ; +0x100, 0x8c408\nVLDR            S14, [R4,#0x184]                                       ; +0x104, 0x8c40c\nVSTR            S12, [R6,#8]                                           ; +0x108, 0x8c410\nVLDR            S12, [R4,#0x180]                                       ; +0x10c, 0x8c414\nVMUL.F32        S12, S12, S10                                          ; +0x110, 0x8c418\nVMLA.F32        S12, S14, S8                                           ; +0x114, 0x8c41c\nVLDR            S14, [R6,#0xC]                                         ; +0x118, 0x8c420\nVMLA.F32        S12, S1, S6                                            ; +0x11c, 0x8c424\nVLDR            S1, [R4,#0x208]                                        ; +0x120, 0x8c428\nVMLA.F32        S12, S3, S4                                            ; +0x124, 0x8c42c\nVLDR            S3, [R4,#0x20C]                                        ; +0x128, 0x8c430\nVMLA.F32        S12, S5, S2                                            ; +0x12c, 0x8c434\nVLDR            S5, [R4,#0x210]                                        ; +0x130, 0x8c438\nVMLA.F32        S12, S7, S0                                            ; +0x134, 0x8c43c\nVLDR            S7, [R4,#0x214]                                        ; +0x138, 0x8c440\nVADD.F32        S12, S12, S14                                          ; +0x13c, 0x8c444\nVLDR            S14, [R4,#0x204]                                       ; +0x140, 0x8c448\nVSTR            S12, [R6,#0xC]                                         ; +0x144, 0x8c44c\nVLDR            S12, [R4,#0x200]                                       ; +0x148, 0x8c450\nVMUL.F32        S12, S12, S10                                          ; +0x14c, 0x8c454\nVMLA.F32        S12, S14, S8                                           ; +0x150, 0x8c458\nVLDR            S14, [R6,#0x10]                                        ; +0x154, 0x8c45c\nVMLA.F32        S12, S1, S6                                            ; +0x158, 0x8c460\nVLDR            S1, [R4,#0x288]                                        ; +0x15c, 0x8c464\nVMLA.F32        S12, S3, S4                                            ; +0x160, 0x8c468\nVLDR            S3, [R4,#0x28C]                                        ; +0x164, 0x8c46c\nVMLA.F32        S12, S5, S2                                            ; +0x168, 0x8c470\nVLDR            S5, [R4,#0x290]                                        ; +0x16c, 0x8c474\nVMLA.F32        S12, S7, S0                                            ; +0x170, 0x8c478\nVLDR            S7, [R4,#0x294]                                        ; +0x174, 0x8c47c\nVADD.F32        S12, S12, S14                                          ; +0x178, 0x8c480\nVLDR            S14, [R4,#0x284]                                       ; +0x17c, 0x8c484\nVSTR            S12, [R6,#0x10]                                        ; +0x180, 0x8c488\nVLDR            S12, [R4,#0x280]                                       ; +0x184, 0x8c48c\nVMUL.F32        S10, S12, S10                                          ; +0x188, 0x8c490\nVMLA.F32        S10, S14, S8                                           ; +0x18c, 0x8c494\nVMLA.F32        S10, S1, S6                                            ; +0x190, 0x8c498\nVMLA.F32        S10, S3, S4                                            ; +0x194, 0x8c49c\nVMLA.F32        S10, S5, S2                                            ; +0x198, 0x8c4a0\nVMLA.F32        S10, S7, S0                                            ; +0x19c, 0x8c4a4\nVLDR            S0, [R6,#0x14]                                         ; +0x1a0, 0x8c4a8\nVADD.F32        S0, S10, S0                                            ; +0x1a4, 0x8c4ac\nVSTR            S0, [R6,#0x14]                                         ; +0x1a8, 0x8c4b0\nADDS            R6, #0x18                                              ; +0x1ac, 0x8c4b4\nB               loc_8C32A                                              ; +0x1ae, 0x8c4b6\nPOP.W           {R8}                                                   ; +0x1b0, 0x8c4b8\nPOP             {R4-R7,PC}                                             ; +0x1b4, 0x8c4bc", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}