{"type": "func", "start": 573606, "end": 574216, "name": "sub_8C0A6", "pseudocode": "// \n// sub_8C0A6 from 0x8c0a6 to 0x8c308 (610 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\nfloat *__fastcall sub_8C0A6(int a1, char *a2, unsigned int a3, float *a4, int a5, int a6, int a7)\n{\n  float v8; // s16\n  float v10; // s18\n  float v12; // s20\n  float v13; // s22\n  float v14; // s24\n  float v15; // s26\n  float v16; // s28\n  float v17; // s30\n  float v18; // s17\n  float v19; // s19\n  float v20; // s21\n  float v21; // s23\n  unsigned int v22; // r2\n  int v23; // r3\n  float *result; // r0\n  float *v25; // r1\n  float v26; // s2\n  float v27; // s4\n  float v28; // s6\n  float v29; // s10\n  float v30; // s12\n  float v31; // s1\n  float v32; // s8\n  float v33; // s3\n  float v34; // s0\n  float v35; // s2\n  float v36; // s8\n  float v37; // s0\n  float v38; // s4\n  float v39; // s8\n  float v40; // s0\n  float v41; // s6\n  float v42; // s8\n  float v43; // s0\n  float v44; // s10\n  float v45; // s8\n  float v46; // s0\n  float v47; // s12\n  float v48; // s0\n  float v49; // s8\n  float v50; // s0\n  float v51; // s4\n  float v52; // s8\n  float v53; // s0\n  float v54; // s6\n  float v55; // s8\n  float v56; // s0\n  float v57; // s10\n  float v58; // s8\n  float v59; // s0\n  float v60; // s12\n  float v61; // s2\n  float v62; // s0\n  float v63; // s8\n  float v64; // s0\n  float v65; // s4\n  float v66; // s8\n  float v67; // s0\n  float v68; // s6\n  float v69; // s8\n  float v70; // s0\n  float v71; // s10\n  float v72; // s8\n  float v73; // s0\n  float v74; // s12\n  float v75; // s2\n  float v76; // s0\n  int v77; // r2\n  int v78; // r3\n  float *v79; // r5\n  float *v80; // r4\n  float v81; // s4\n  float v82; // s6\n  float v83; // s8\n  float v84; // s10\n  float v85; // s12\n  float v86; // s0\n\n  v8 = a4[32];\n  v10 = a4[33];\n  v12 = a4[34];\n  v13 = a4[35];\n  v14 = a4[36];\n  v15 = a4[37];\n  v16 = *a4;\n  v17 = a4[1];\n  v18 = a4[2];\n  v19 = a4[3];\n  v20 = a4[4];\n  v21 = a4[5];\n  if ( a7 )\n    memset(a2, 0, 24 * a3);\n  v22 = a3 >> 2;\n  v23 = 0;\n  while ( 1 )\n  {\n    result = (float *)&a2[v23];\n    v25 = (float *)(a1 + v23);\n    if ( !v22 )\n      break;\n    v23 += 96;\n    v26 = v25[1];\n    --v22;\n    v27 = v25[2];\n    v28 = v25[3];\n    v29 = v25[4];\n    v30 = v25[5];\n    v31 = result[1];\n    v32 = (float)(*v25 * v16) + (float)(v26 * v17);\n    v33 = result[6];\n    v34 = (float)(*v25 * v8) + (float)(v26 * v10);\n    v35 = v25[7];\n    v36 = v32 + (float)(v27 * v18);\n    v37 = v34 + (float)(v27 * v12);\n    v38 = v25[8];\n    v39 = v36 + (float)(v28 * v19);\n    v40 = v37 + (float)(v28 * v13);\n    v41 = v25[9];\n    v42 = v39 + (float)(v29 * v20);\n    v43 = v40 + (float)(v29 * v14);\n    v44 = v25[10];\n    v45 = v42 + (float)(v30 * v21);\n    v46 = v43 + (float)(v30 * v15);\n    v47 = v25[11];\n    *result = v45 + *result;\n    result[1] = v46 + v31;\n    v48 = v25[6];\n    v49 = (float)((float)(v48 * v16) + (float)(v35 * v17)) + (float)(v38 * v18);\n    v50 = (float)((float)(v48 * v8) + (float)(v35 * v10)) + (float)(v38 * v12);\n    v51 = v25[14];\n    v52 = v49 + (float)(v41 * v19);\n    v53 = v50 + (float)(v41 * v13);\n    v54 = v25[15];\n    v55 = v52 + (float)(v44 * v20);\n    v56 = v53 + (float)(v44 * v14);\n    v57 = v25[16];\n    v58 = v55 + (float)(v47 * v21);\n    v59 = v56 + (float)(v47 * v15);\n    v60 = v25[17];\n    result[6] = v58 + v33;\n    v61 = v25[13];\n    result[7] = v59 + result[7];\n    v62 = v25[12];\n    v63 = (float)((float)(v62 * v16) + (float)(v61 * v17)) + (float)(v51 * v18);\n    v64 = (float)((float)(v62 * v8) + (float)(v61 * v10)) + (float)(v51 * v12);\n    v65 = v25[20];\n    v66 = v63 + (float)(v54 * v19);\n    v67 = v64 + (float)(v54 * v13);\n    v68 = v25[21];\n    v69 = v66 + (float)(v57 * v20);\n    v70 = v67 + (float)(v57 * v14);\n    v71 = v25[22];\n    v72 = v69 + (float)(v60 * v21);\n    v73 = v70 + (float)(v60 * v15);\n    v74 = v25[23];\n    result[12] = v72 + result[12];\n    v75 = v25[19];\n    result[13] = v73 + result[13];\n    v76 = v25[18];\n    result[18] = (float)((float)((float)((float)((float)((float)(v76 * v16) + (float)(v75 * v17)) + (float)(v65 * v18))\n                                       + (float)(v68 * v19))\n                               + (float)(v71 * v20))\n                       + (float)(v74 * v21))\n               + result[18];\n    result[19] = (float)((float)((float)((float)((float)((float)(v76 * v8) + (float)(v75 * v10)) + (float)(v65 * v12))\n                                       + (float)(v68 * v13))\n                               + (float)(v71 * v14))\n                       + (float)(v74 * v15))\n               + result[19];\n  }\n  v77 = a3 & 3;\n  v78 = 0;\n  while ( v77 )\n  {\n    v79 = &v25[v78];\n    v80 = &result[v78];\n    v78 += 6;\n    --v77;\n    v81 = v79[1];\n    v82 = v79[2];\n    v83 = v79[3];\n    v84 = v79[4];\n    v85 = v79[5];\n    v86 = (float)((float)((float)((float)((float)(*v79 * v8) + (float)(v81 * v10)) + (float)(v82 * v12))\n                        + (float)(v83 * v13))\n                + (float)(v84 * v14))\n        + (float)(v85 * v15);\n    *v80 = (float)((float)((float)((float)((float)((float)(*v79 * v16) + (float)(v81 * v17)) + (float)(v82 * v18))\n                                 + (float)(v83 * v19))\n                         + (float)(v84 * v20))\n                 + (float)(v85 * v21))\n         + *v80;\n    v80[1] = v86 + v80[1];\n  }\n  return result;\n}", "assembly": "; \n; sub_8C0A6 from 0x8c0a6 to 0x8c308 (610 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, 0x8c0a6\nADD             R7, SP, #0xC                                           ; +0x2, 0x8c0a8\nPUSH.W          {R11}                                                  ; +0x4, 0x8c0aa\nVPUSH           {D8-D15}                                               ; +0x8, 0x8c0ae\nMOV             R6, R0                                                 ; +0xc, 0x8c0b2\nLDR             R0, [R7,#-0x50+arg_8]                                  ; +0xe, 0x8c0b4\nVLDR            S16, [R3,#0x80]                                        ; +0x10, 0x8c0b6\nMOV             R4, R2                                                 ; +0x14, 0x8c0ba\nVLDR            S18, [R3,#0x84]                                        ; +0x16, 0x8c0bc\nMOV             R5, R1                                                 ; +0x1a, 0x8c0c0\nVLDR            S20, [R3,#0x88]                                        ; +0x1c, 0x8c0c2\nVLDR            S22, [R3,#0x8C]                                        ; +0x20, 0x8c0c6\nVLDR            S24, [R3,#0x90]                                        ; +0x24, 0x8c0ca\nVLDR            S26, [R3,#0x94]                                        ; +0x28, 0x8c0ce\nVLDR            S28, [R3]                                              ; +0x2c, 0x8c0d2\nVLDR            S30, [R3,#4]                                           ; +0x30, 0x8c0d6\nVLDR            S17, [R3,#8]                                           ; +0x34, 0x8c0da\nVLDR            S19, [R3,#0xC]                                         ; +0x38, 0x8c0de\nVLDR            S21, [R3,#0x10]                                        ; +0x3c, 0x8c0e2\nVLDR            S23, [R3,#0x14]                                        ; +0x40, 0x8c0e6\nCBZ             R0, loc_8C0F8                                          ; +0x44, 0x8c0ea\nADD.W           R0, R4, R4,LSL#1                                       ; +0x46, 0x8c0ec\nLSLS            R1, R0, #3                                             ; +0x4a, 0x8c0f0\nMOV             R0, R5                                                 ; +0x4c, 0x8c0f2\nBLX             __aeabi_memclr4                                        ; +0x4e, 0x8c0f4\nLSRS            R2, R4, #2                                             ; +0x52, 0x8c0f8\nMOVS            R3, #0                                                 ; +0x54, 0x8c0fa\nADDS            R0, R5, R3                                             ; +0x56, 0x8c0fc\nADDS            R1, R6, R3                                             ; +0x58, 0x8c0fe\nCMP             R2, #0                                                 ; +0x5a, 0x8c100\nBEQ.W           loc_8C28C                                              ; +0x5c, 0x8c102\nVLDR            S0, [R1]                                               ; +0x60, 0x8c106\nADDS            R3, #0x60 ; '`'                                        ; +0x64, 0x8c10a\nVLDR            S2, [R1,#4]                                            ; +0x66, 0x8c10c\nSUBS            R2, #1                                                 ; +0x6a, 0x8c110\nVMUL.F32        S8, S0, S28                                            ; +0x6c, 0x8c112\nVLDR            S4, [R1,#8]                                            ; +0x70, 0x8c116\nVMUL.F32        S0, S0, S16                                            ; +0x74, 0x8c11a\nVLDR            S6, [R1,#0xC]                                          ; +0x78, 0x8c11e\nVLDR            S10, [R1,#0x10]                                        ; +0x7c, 0x8c122\nVLDR            S12, [R1,#0x14]                                        ; +0x80, 0x8c126\nVLDR            S14, [R0]                                              ; +0x84, 0x8c12a\nVLDR            S1, [R0,#4]                                            ; +0x88, 0x8c12e\nVMLA.F32        S8, S2, S30                                            ; +0x8c, 0x8c132\nVLDR            S3, [R0,#0x18]                                         ; +0x90, 0x8c136\nVMLA.F32        S0, S2, S18                                            ; +0x94, 0x8c13a\nVLDR            S2, [R1,#0x1C]                                         ; +0x98, 0x8c13e\nVMLA.F32        S8, S4, S17                                            ; +0x9c, 0x8c142\nVMLA.F32        S0, S4, S20                                            ; +0xa0, 0x8c146\nVLDR            S4, [R1,#0x20]                                         ; +0xa4, 0x8c14a\nVMLA.F32        S8, S6, S19                                            ; +0xa8, 0x8c14e\nVMLA.F32        S0, S6, S22                                            ; +0xac, 0x8c152\nVLDR            S6, [R1,#0x24]                                         ; +0xb0, 0x8c156\nVMLA.F32        S8, S10, S21                                           ; +0xb4, 0x8c15a\nVMLA.F32        S0, S10, S24                                           ; +0xb8, 0x8c15e\nVLDR            S10, [R1,#0x28]                                        ; +0xbc, 0x8c162\nVMLA.F32        S8, S12, S23                                           ; +0xc0, 0x8c166\nVMLA.F32        S0, S12, S26                                           ; +0xc4, 0x8c16a\nVLDR            S12, [R1,#0x2C]                                        ; +0xc8, 0x8c16e\nVADD.F32        S8, S8, S14                                            ; +0xcc, 0x8c172\nVADD.F32        S0, S0, S1                                             ; +0xd0, 0x8c176\nVSTR            S8, [R0]                                               ; +0xd4, 0x8c17a\nVSTR            S0, [R0,#4]                                            ; +0xd8, 0x8c17e\nVLDR            S0, [R1,#0x18]                                         ; +0xdc, 0x8c182\nVMUL.F32        S8, S0, S28                                            ; +0xe0, 0x8c186\nVMUL.F32        S0, S0, S16                                            ; +0xe4, 0x8c18a\nVMLA.F32        S8, S2, S30                                            ; +0xe8, 0x8c18e\nVMLA.F32        S0, S2, S18                                            ; +0xec, 0x8c192\nVMLA.F32        S8, S4, S17                                            ; +0xf0, 0x8c196\nVMLA.F32        S0, S4, S20                                            ; +0xf4, 0x8c19a\nVLDR            S4, [R1,#0x38]                                         ; +0xf8, 0x8c19e\nVMLA.F32        S8, S6, S19                                            ; +0xfc, 0x8c1a2\nVMLA.F32        S0, S6, S22                                            ; +0x100, 0x8c1a6\nVLDR            S6, [R1,#0x3C]                                         ; +0x104, 0x8c1aa\nVMLA.F32        S8, S10, S21                                           ; +0x108, 0x8c1ae\nVMLA.F32        S0, S10, S24                                           ; +0x10c, 0x8c1b2\nVLDR            S10, [R1,#0x40]                                        ; +0x110, 0x8c1b6\nVMLA.F32        S8, S12, S23                                           ; +0x114, 0x8c1ba\nVMLA.F32        S0, S12, S26                                           ; +0x118, 0x8c1be\nVLDR            S12, [R1,#0x44]                                        ; +0x11c, 0x8c1c2\nVADD.F32        S8, S8, S3                                             ; +0x120, 0x8c1c6\nVSTR            S8, [R0,#0x18]                                         ; +0x124, 0x8c1ca\nVLDR            S2, [R0,#0x1C]                                         ; +0x128, 0x8c1ce\nVADD.F32        S0, S0, S2                                             ; +0x12c, 0x8c1d2\nVLDR            S2, [R1,#0x34]                                         ; +0x130, 0x8c1d6\nVSTR            S0, [R0,#0x1C]                                         ; +0x134, 0x8c1da\nVLDR            S0, [R1,#0x30]                                         ; +0x138, 0x8c1de\nVLDR            S14, [R0,#0x30]                                        ; +0x13c, 0x8c1e2\nVMUL.F32        S8, S0, S28                                            ; +0x140, 0x8c1e6\nVMUL.F32        S0, S0, S16                                            ; +0x144, 0x8c1ea\nVMLA.F32        S8, S2, S30                                            ; +0x148, 0x8c1ee\nVMLA.F32        S0, S2, S18                                            ; +0x14c, 0x8c1f2\nVMLA.F32        S8, S4, S17                                            ; +0x150, 0x8c1f6\nVMLA.F32        S0, S4, S20                                            ; +0x154, 0x8c1fa\nVLDR            S4, [R1,#0x50]                                         ; +0x158, 0x8c1fe\nVMLA.F32        S8, S6, S19                                            ; +0x15c, 0x8c202\nVMLA.F32        S0, S6, S22                                            ; +0x160, 0x8c206\nVLDR            S6, [R1,#0x54]                                         ; +0x164, 0x8c20a\nVMLA.F32        S8, S10, S21                                           ; +0x168, 0x8c20e\nVMLA.F32        S0, S10, S24                                           ; +0x16c, 0x8c212\nVLDR            S10, [R1,#0x58]                                        ; +0x170, 0x8c216\nVMLA.F32        S8, S12, S23                                           ; +0x174, 0x8c21a\nVMLA.F32        S0, S12, S26                                           ; +0x178, 0x8c21e\nVLDR            S12, [R1,#0x5C]                                        ; +0x17c, 0x8c222\nVADD.F32        S8, S8, S14                                            ; +0x180, 0x8c226\nVSTR            S8, [R0,#0x30]                                         ; +0x184, 0x8c22a\nVLDR            S2, [R0,#0x34]                                         ; +0x188, 0x8c22e\nVADD.F32        S0, S0, S2                                             ; +0x18c, 0x8c232\nVLDR            S2, [R1,#0x4C]                                         ; +0x190, 0x8c236\nVSTR            S0, [R0,#0x34]                                         ; +0x194, 0x8c23a\nVLDR            S0, [R1,#0x48]                                         ; +0x198, 0x8c23e\nVLDR            S14, [R0,#0x48]                                        ; +0x19c, 0x8c242\nVMUL.F32        S8, S0, S28                                            ; +0x1a0, 0x8c246\nVMUL.F32        S0, S0, S16                                            ; +0x1a4, 0x8c24a\nVMLA.F32        S8, S2, S30                                            ; +0x1a8, 0x8c24e\nVMLA.F32        S0, S2, S18                                            ; +0x1ac, 0x8c252\nVMLA.F32        S8, S4, S17                                            ; +0x1b0, 0x8c256\nVMLA.F32        S0, S4, S20                                            ; +0x1b4, 0x8c25a\nVMLA.F32        S8, S6, S19                                            ; +0x1b8, 0x8c25e\nVMLA.F32        S0, S6, S22                                            ; +0x1bc, 0x8c262\nVMLA.F32        S8, S10, S21                                           ; +0x1c0, 0x8c266\nVMLA.F32        S0, S10, S24                                           ; +0x1c4, 0x8c26a\nVMLA.F32        S8, S12, S23                                           ; +0x1c8, 0x8c26e\nVMLA.F32        S0, S12, S26                                           ; +0x1cc, 0x8c272\nVADD.F32        S8, S8, S14                                            ; +0x1d0, 0x8c276\nVSTR            S8, [R0,#0x48]                                         ; +0x1d4, 0x8c27a\nVLDR            S2, [R0,#0x4C]                                         ; +0x1d8, 0x8c27e\nVADD.F32        S0, S0, S2                                             ; +0x1dc, 0x8c282\nVSTR            S0, [R0,#0x4C]                                         ; +0x1e0, 0x8c286\nB               loc_8C0FC                                              ; +0x1e4, 0x8c28a\nAND.W           R2, R4, #3                                             ; +0x1e6, 0x8c28c\nMOVS            R3, #0                                                 ; +0x1ea, 0x8c290\nCBZ             R2, loc_8C2FE                                          ; +0x1ec, 0x8c292\nADDS            R5, R1, R3                                             ; +0x1ee, 0x8c294\nADDS            R4, R0, R3                                             ; +0x1f0, 0x8c296\nADDS            R3, #0x18                                              ; +0x1f2, 0x8c298\nSUBS            R2, #1                                                 ; +0x1f4, 0x8c29a\nVLDR            S0, [R5]                                               ; +0x1f6, 0x8c29c\nVLDR            S4, [R5,#4]                                            ; +0x1fa, 0x8c2a0\nVMUL.F32        S2, S0, S28                                            ; +0x1fe, 0x8c2a4\nVLDR            S6, [R5,#8]                                            ; +0x202, 0x8c2a8\nVMUL.F32        S0, S0, S16                                            ; +0x206, 0x8c2ac\nVLDR            S8, [R5,#0xC]                                          ; +0x20a, 0x8c2b0\nVLDR            S10, [R5,#0x10]                                        ; +0x20e, 0x8c2b4\nVLDR            S12, [R5,#0x14]                                        ; +0x212, 0x8c2b8\nVLDR            S14, [R4]                                              ; +0x216, 0x8c2bc\nVMLA.F32        S2, S4, S30                                            ; +0x21a, 0x8c2c0\nVMLA.F32        S0, S4, S18                                            ; +0x21e, 0x8c2c4\nVMLA.F32        S2, S6, S17                                            ; +0x222, 0x8c2c8\nVMLA.F32        S0, S6, S20                                            ; +0x226, 0x8c2cc\nVMLA.F32        S2, S8, S19                                            ; +0x22a, 0x8c2d0\nVMLA.F32        S0, S8, S22                                            ; +0x22e, 0x8c2d4\nVMLA.F32        S2, S10, S21                                           ; +0x232, 0x8c2d8\nVMLA.F32        S0, S10, S24                                           ; +0x236, 0x8c2dc\nVMLA.F32        S2, S12, S23                                           ; +0x23a, 0x8c2e0\nVMLA.F32        S0, S12, S26                                           ; +0x23e, 0x8c2e4\nVADD.F32        S2, S2, S14                                            ; +0x242, 0x8c2e8\nVSTR            S2, [R4]                                               ; +0x246, 0x8c2ec\nVLDR            S2, [R4,#4]                                            ; +0x24a, 0x8c2f0\nVADD.F32        S0, S0, S2                                             ; +0x24e, 0x8c2f4\nVSTR            S0, [R4,#4]                                            ; +0x252, 0x8c2f8\nB               loc_8C292                                              ; +0x256, 0x8c2fc\nVPOP            {D8-D15}                                               ; +0x258, 0x8c2fe\nPOP.W           {R11}                                                  ; +0x25c, 0x8c302\nPOP             {R4-R7,PC}                                             ; +0x260, 0x8c306", "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"}