{"type": "func", "start": 573202, "end": 573606, "name": "sub_8BF12", "pseudocode": "// \n// sub_8BF12 from 0x8bf12 to 0x8c0a6 (404 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_8BF12(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  unsigned int v16; // r2\n  int v17; // r3\n  float *v18; // r1\n  float *result; // r0\n  float v20; // s8\n  float v21; // s10\n  float v22; // s4\n  float v23; // s6\n  float v24; // s2\n  float v25; // s0\n  float v26; // s8\n  float v27; // s2\n  float v28; // s0\n  float v29; // s4\n  float v30; // s0\n  float v31; // s4\n  float v32; // s2\n  float v33; // s0\n  float v34; // s6\n  int v35; // r2\n  int v36; // r3\n  float *v37; // r4\n  float *v38; // r5\n\n  v8 = *a4;\n  v10 = a4[1];\n  v12 = a4[2];\n  v13 = a4[3];\n  v14 = a4[4];\n  v15 = a4[5];\n  if ( a7 )\n    memset(a2, 0, 24 * a3);\n  v16 = a3 >> 2;\n  v17 = 0;\n  while ( 1 )\n  {\n    v18 = (float *)(a1 + v17);\n    result = (float *)&a2[v17];\n    if ( !v16 )\n      break;\n    v17 += 96;\n    --v16;\n    v20 = v18[8];\n    v21 = v18[9];\n    v22 = result[6];\n    v23 = result[12];\n    v24 = v18[7];\n    *result = (float)((float)((float)((float)((float)((float)(*v18 * v8) + (float)(v18[1] * v10)) + (float)(v18[2] * v12))\n                                    + (float)(v18[3] * v13))\n                            + (float)(v18[4] * v14))\n                    + (float)(v18[5] * v15))\n            + *result;\n    v25 = (float)((float)(v18[6] * v8) + (float)(v24 * v10)) + (float)(v20 * v12);\n    v26 = v18[15];\n    v27 = v18[13];\n    v28 = (float)((float)((float)(v25 + (float)(v21 * v13)) + (float)(v18[10] * v14)) + (float)(v18[11] * v15)) + v22;\n    v29 = v18[14];\n    result[6] = v28;\n    v30 = (float)((float)(v18[12] * v8) + (float)(v27 * v10)) + (float)(v29 * v12);\n    v31 = v18[20];\n    v32 = v18[19];\n    v33 = (float)((float)((float)(v30 + (float)(v26 * v13)) + (float)(v18[16] * v14)) + (float)(v18[17] * v15)) + v23;\n    v34 = v18[21];\n    result[12] = v33;\n    result[18] = (float)((float)((float)((float)((float)((float)(v18[18] * v8) + (float)(v32 * v10)) + (float)(v31 * v12))\n                                       + (float)(v34 * v13))\n                               + (float)(v18[22] * v14))\n                       + (float)(v18[23] * v15))\n               + result[18];\n  }\n  v35 = a3 & 3;\n  v36 = 0;\n  while ( v35 )\n  {\n    v37 = &v18[v36];\n    v38 = &result[v36];\n    v36 += 6;\n    --v35;\n    *v38 = (float)((float)((float)((float)((float)((float)(*v37 * v8) + (float)(v37[1] * v10)) + (float)(v37[2] * v12))\n                                 + (float)(v37[3] * v13))\n                         + (float)(v37[4] * v14))\n                 + (float)(v37[5] * v15))\n         + *v38;\n  }\n  return result;\n}", "assembly": "; \n; sub_8BF12 from 0x8bf12 to 0x8c0a6 (404 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, 0x8bf12\nADD             R7, SP, #0xC                                           ; +0x2, 0x8bf14\nPUSH.W          {R11}                                                  ; +0x4, 0x8bf16\nVPUSH           {D8-D13}                                               ; +0x8, 0x8bf1a\nMOV             R6, R0                                                 ; +0xc, 0x8bf1e\nLDR             R0, [R7,#-0x40+arg_8]                                  ; +0xe, 0x8bf20\nVLDR            S16, [R3]                                              ; +0x10, 0x8bf22\nMOV             R4, R2                                                 ; +0x14, 0x8bf26\nVLDR            S18, [R3,#4]                                           ; +0x16, 0x8bf28\nMOV             R5, R1                                                 ; +0x1a, 0x8bf2c\nVLDR            S20, [R3,#8]                                           ; +0x1c, 0x8bf2e\nVLDR            S22, [R3,#0xC]                                         ; +0x20, 0x8bf32\nVLDR            S24, [R3,#0x10]                                        ; +0x24, 0x8bf36\nVLDR            S26, [R3,#0x14]                                        ; +0x28, 0x8bf3a\nCBZ             R0, loc_8BF4C                                          ; +0x2c, 0x8bf3e\nADD.W           R0, R4, R4,LSL#1                                       ; +0x2e, 0x8bf40\nLSLS            R1, R0, #3                                             ; +0x32, 0x8bf44\nMOV             R0, R5                                                 ; +0x34, 0x8bf46\nBLX             __aeabi_memclr4                                        ; +0x36, 0x8bf48\nLSRS            R2, R4, #2                                             ; +0x3a, 0x8bf4c\nMOVS            R3, #0                                                 ; +0x3c, 0x8bf4e\nADDS            R1, R6, R3                                             ; +0x3e, 0x8bf50\nADDS            R0, R5, R3                                             ; +0x40, 0x8bf52\nCMP             R2, #0                                                 ; +0x42, 0x8bf54\nBEQ             loc_8C04E                                              ; +0x44, 0x8bf56\nVLDR            S0, [R1]                                               ; +0x46, 0x8bf58\nADDS            R3, #0x60 ; '`'                                        ; +0x4a, 0x8bf5c\nVLDR            S2, [R1,#4]                                            ; +0x4c, 0x8bf5e\nSUBS            R2, #1                                                 ; +0x50, 0x8bf62\nVMUL.F32        S0, S0, S16                                            ; +0x52, 0x8bf64\nVLDR            S4, [R1,#8]                                            ; +0x56, 0x8bf68\nVLDR            S6, [R1,#0xC]                                          ; +0x5a, 0x8bf6c\nVLDR            S8, [R1,#0x20]                                         ; +0x5e, 0x8bf70\nVLDR            S10, [R1,#0x24]                                        ; +0x62, 0x8bf74\nVMLA.F32        S0, S2, S18                                            ; +0x66, 0x8bf78\nVLDR            S2, [R1,#0x10]                                         ; +0x6a, 0x8bf7c\nVMLA.F32        S0, S4, S20                                            ; +0x6e, 0x8bf80\nVLDR            S4, [R0,#0x18]                                         ; +0x72, 0x8bf84\nVMLA.F32        S0, S6, S22                                            ; +0x76, 0x8bf88\nVLDR            S6, [R0,#0x30]                                         ; +0x7a, 0x8bf8c\nVMLA.F32        S0, S2, S24                                            ; +0x7e, 0x8bf90\nVLDR            S2, [R1,#0x14]                                         ; +0x82, 0x8bf94\nVMLA.F32        S0, S2, S26                                            ; +0x86, 0x8bf98\nVLDR            S2, [R0]                                               ; +0x8a, 0x8bf9c\nVADD.F32        S0, S0, S2                                             ; +0x8e, 0x8bfa0\nVLDR            S2, [R1,#0x1C]                                         ; +0x92, 0x8bfa4\nVSTR            S0, [R0]                                               ; +0x96, 0x8bfa8\nVLDR            S0, [R1,#0x18]                                         ; +0x9a, 0x8bfac\nVMUL.F32        S0, S0, S16                                            ; +0x9e, 0x8bfb0\nVMLA.F32        S0, S2, S18                                            ; +0xa2, 0x8bfb4\nVLDR            S2, [R1,#0x28]                                         ; +0xa6, 0x8bfb8\nVMLA.F32        S0, S8, S20                                            ; +0xaa, 0x8bfbc\nVLDR            S8, [R1,#0x3C]                                         ; +0xae, 0x8bfc0\nVMLA.F32        S0, S10, S22                                           ; +0xb2, 0x8bfc4\nVMLA.F32        S0, S2, S24                                            ; +0xb6, 0x8bfc8\nVLDR            S2, [R1,#0x2C]                                         ; +0xba, 0x8bfcc\nVMLA.F32        S0, S2, S26                                            ; +0xbe, 0x8bfd0\nVLDR            S2, [R1,#0x34]                                         ; +0xc2, 0x8bfd4\nVADD.F32        S0, S0, S4                                             ; +0xc6, 0x8bfd8\nVLDR            S4, [R1,#0x38]                                         ; +0xca, 0x8bfdc\nVSTR            S0, [R0,#0x18]                                         ; +0xce, 0x8bfe0\nVLDR            S0, [R1,#0x30]                                         ; +0xd2, 0x8bfe4\nVMUL.F32        S0, S0, S16                                            ; +0xd6, 0x8bfe8\nVMLA.F32        S0, S2, S18                                            ; +0xda, 0x8bfec\nVLDR            S2, [R1,#0x40]                                         ; +0xde, 0x8bff0\nVMLA.F32        S0, S4, S20                                            ; +0xe2, 0x8bff4\nVLDR            S4, [R1,#0x50]                                         ; +0xe6, 0x8bff8\nVMLA.F32        S0, S8, S22                                            ; +0xea, 0x8bffc\nVMLA.F32        S0, S2, S24                                            ; +0xee, 0x8c000\nVLDR            S2, [R1,#0x44]                                         ; +0xf2, 0x8c004\nVMLA.F32        S0, S2, S26                                            ; +0xf6, 0x8c008\nVLDR            S2, [R1,#0x4C]                                         ; +0xfa, 0x8c00c\nVADD.F32        S0, S0, S6                                             ; +0xfe, 0x8c010\nVLDR            S6, [R1,#0x54]                                         ; +0x102, 0x8c014\nVSTR            S0, [R0,#0x30]                                         ; +0x106, 0x8c018\nVLDR            S0, [R1,#0x48]                                         ; +0x10a, 0x8c01c\nVMUL.F32        S0, S0, S16                                            ; +0x10e, 0x8c020\nVMLA.F32        S0, S2, S18                                            ; +0x112, 0x8c024\nVLDR            S2, [R1,#0x58]                                         ; +0x116, 0x8c028\nVMLA.F32        S0, S4, S20                                            ; +0x11a, 0x8c02c\nVMLA.F32        S0, S6, S22                                            ; +0x11e, 0x8c030\nVMLA.F32        S0, S2, S24                                            ; +0x122, 0x8c034\nVLDR            S2, [R1,#0x5C]                                         ; +0x126, 0x8c038\nVMLA.F32        S0, S2, S26                                            ; +0x12a, 0x8c03c\nVLDR            S2, [R0,#0x48]                                         ; +0x12e, 0x8c040\nVADD.F32        S0, S0, S2                                             ; +0x132, 0x8c044\nVSTR            S0, [R0,#0x48]                                         ; +0x136, 0x8c048\nB               loc_8BF50                                              ; +0x13a, 0x8c04c\nAND.W           R2, R4, #3                                             ; +0x13c, 0x8c04e\nMOVS            R3, #0                                                 ; +0x140, 0x8c052\nCBZ             R2, loc_8C09C                                          ; +0x142, 0x8c054\nADDS            R4, R1, R3                                             ; +0x144, 0x8c056\nADDS            R5, R0, R3                                             ; +0x146, 0x8c058\nADDS            R3, #0x18                                              ; +0x148, 0x8c05a\nSUBS            R2, #1                                                 ; +0x14a, 0x8c05c\nVLDR            S0, [R4]                                               ; +0x14c, 0x8c05e\nVLDR            S2, [R4,#4]                                            ; +0x150, 0x8c062\nVMUL.F32        S0, S0, S16                                            ; +0x154, 0x8c066\nVLDR            S4, [R4,#8]                                            ; +0x158, 0x8c06a\nVLDR            S6, [R4,#0xC]                                          ; +0x15c, 0x8c06e\nVLDR            S8, [R4,#0x10]                                         ; +0x160, 0x8c072\nVLDR            S10, [R4,#0x14]                                        ; +0x164, 0x8c076\nVMLA.F32        S0, S2, S18                                            ; +0x168, 0x8c07a\nVLDR            S2, [R5]                                               ; +0x16c, 0x8c07e\nVMLA.F32        S0, S4, S20                                            ; +0x170, 0x8c082\nVMLA.F32        S0, S6, S22                                            ; +0x174, 0x8c086\nVMLA.F32        S0, S8, S24                                            ; +0x178, 0x8c08a\nVMLA.F32        S0, S10, S26                                           ; +0x17c, 0x8c08e\nVADD.F32        S0, S0, S2                                             ; +0x180, 0x8c092\nVSTR            S0, [R5]                                               ; +0x184, 0x8c096\nB               loc_8C054                                              ; +0x188, 0x8c09a\nVPOP            {D8-D13}                                               ; +0x18a, 0x8c09c\nPOP.W           {R11}                                                  ; +0x18e, 0x8c0a0\nPOP             {R4-R7,PC}                                             ; +0x192, 0x8c0a4", "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"}