{"type": "func", "start": 653248, "end": 654494, "name": "sub_9F7C0", "pseudocode": "// \n// sub_9F7C0 from 0x9f7c0 to 0x9fc9e (1246 bytes)\n// \n// 2 xrefs:\n// > sub_9E2D0 @ 0x9e32a\n// > sub_A6A2C @ 0xa6cc2\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:32 +0000\n// \n\nfloat *__fastcall sub_9F7C0(float *result, int a2, int a3, int a4, unsigned int *a5, int a6, int a7)\n{\n  int v7; // r4\n  int v8; // lr\n  unsigned __int8 *v9; // r4\n  int v10; // lr\n  __int64 v11; // r4\n  unsigned int v12; // r8\n  int *v13; // r4\n  float v14; // s8\n  float v15; // s6\n  __int64 v16; // kr30_8\n  int *v17; // r6\n  float v18; // s12\n  float v19; // s10\n  __int64 v20; // kr38_8\n  float v21; // s1\n  float v22; // s14\n  __int64 v23; // kr40_8\n  float v24; // s5\n  float v25; // s3\n  int v26; // r10\n  float v27; // s6\n  unsigned int v28; // r5\n  int v29; // r6\n  unsigned int v30; // r4\n  int v31; // r5\n  int v32; // r4\n  float v33; // s6\n  unsigned int v34; // r5\n  int *v35; // r6\n  int *v36; // r5\n  int i; // lr\n  int v38; // r4\n  float v39; // s6\n  unsigned int v40; // r6\n  float v41; // s10\n  int v42; // r5\n\n  switch ( a4 )\n  {\n    case 1:\n      if ( a7 == 1 )\n      {\n        result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))dword_1257CC)(result, a2, a3, a5);\n      }\n      else if ( a7 == 2 )\n      {\n        result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 4))(\n                            result,\n                            a2,\n                            a3,\n                            a5);\n      }\n      else\n      {\n        while ( a2 )\n        {\n          v38 = 0;\n          v39 = (float)*a5 * 2.3283e-10;\n          while ( v38 < a7 )\n          {\n            v40 = a5[1];\n            v41 = (float)*(char *)(a3 + v40 * a7 + v38);\n            v42 = *(char *)(a3 + (v40 + 1) * a7 + v38++);\n            *result++ = (float)((float)((float)(1.0 - v39) * v41) + (float)(v39 * (float)v42)) * 0.0078125;\n          }\n          --a2;\n          *(_QWORD *)a5 += *(_QWORD *)a6;\n        }\n      }\n      break;\n    case 2:\n      switch ( a7 )\n      {\n        case 1:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 8))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 2:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 12))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 4:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 16))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 6:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 20))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 8:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 24))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        default:\n          result = (float *)sub_A050C(result, a2, a3, a5);\n          break;\n      }\n      break;\n    case 3:\n      if ( a7 == 1 )\n      {\n        while ( a2 )\n        {\n          --a2;\n          v7 = 3 * a5[1];\n          v8 = *(unsigned __int8 *)(a3 + v7);\n          v9 = (unsigned __int8 *)(v7 + a3);\n          *result++ = (float)((float)((float)(1.0 - (float)((float)*a5 * 2.3283e-10))\n                                    * (float)(((v9[1] << 16) | (v8 << 8) | (v9[2] << 24)) >> 8))\n                            + (float)((float)((float)*a5 * 2.3283e-10)\n                                    * (float)(((v9[4] << 16) | (v9[3] << 8) | (v9[5] << 24)) >> 8)))\n                    * 0.00000011921;\n          *(_QWORD *)a5 += *(_QWORD *)a6;\n        }\n      }\n      else\n      {\n        while ( a2 )\n        {\n          v26 = 0;\n          v27 = (float)*a5 * 2.3283e-10;\n          while ( v26 < a7 )\n          {\n            v28 = a5[1];\n            v29 = 3 * (v26 + v28 * a7);\n            v30 = v28 + 1;\n            v31 = 3 * v26++;\n            *result++ = (float)((float)((float)(1.0 - v27)\n                                      * (float)(((*(unsigned __int8 *)(v29 + a3 + 1) << 16)\n                                               | (*(unsigned __int8 *)(a3 + v29) << 8)\n                                               | (*(unsigned __int8 *)(v29 + a3 + 2) << 24)) >> 8))\n                              + (float)(v27\n                                      * (float)(((*(unsigned __int8 *)(a3 + 3 * a7 * v30 + v31 + 1) << 16)\n                                               | (*(unsigned __int8 *)(a3 + 3 * a7 * v30 + v31) << 8)\n                                               | (*(unsigned __int8 *)(a3 + 3 * a7 * v30 + v31 + 2) << 24)) >> 8)))\n                      * 0.00000011921;\n          }\n          --a2;\n          *(_QWORD *)a5 += *(_QWORD *)a6;\n        }\n      }\n      break;\n    case 4:\n      if ( a7 == 1 )\n      {\n        v10 = a2 >> 2;\n        while ( v10 )\n        {\n          HIDWORD(v11) = a5[1];\n          v12 = *a5;\n          --v10;\n          v13 = (int *)(a3 + 4 * HIDWORD(v11));\n          v14 = (float)v13[1];\n          v15 = (float)*v13;\n          LODWORD(v11) = *(_DWORD *)a6;\n          v16 = v11 + __PAIR64__(*(_DWORD *)(a6 + 4), *a5);\n          v17 = (int *)(a3 + 4 * ((v11 + __PAIR64__(*(_DWORD *)(a6 + 4), *a5)) >> 32));\n          *(_QWORD *)a5 = v11 + __PAIR64__(*(_DWORD *)(a6 + 4), *a5);\n          v18 = (float)v17[1];\n          v19 = (float)*v17;\n          v20 = *(_QWORD *)a6 + v16;\n          HIDWORD(v11) = a3 + 4 * HIDWORD(v20);\n          *(_QWORD *)a5 = v20;\n          v21 = (float)*(int *)(HIDWORD(v11) + 4);\n          v22 = (float)(int)*(_DWORD *)HIDWORD(v11);\n          v23 = *(_QWORD *)a6 + v20;\n          HIDWORD(v11) = a3 + 4 * HIDWORD(v23);\n          *(_QWORD *)a5 = v23;\n          v24 = (float)*(int *)(HIDWORD(v11) + 4);\n          v25 = (float)(int)*(_DWORD *)HIDWORD(v11);\n          *(_QWORD *)a5 = *(_QWORD *)a6 + v23;\n          result[2] = (float)((float)((float)(1.0 - (float)((float)(unsigned int)v20 * 2.3283e-10)) * v22)\n                            + (float)((float)((float)(unsigned int)v20 * 2.3283e-10) * v21))\n                    * 4.6566e-10;\n          result[1] = (float)((float)((float)(1.0 - (float)((float)(unsigned int)v16 * 2.3283e-10)) * v19)\n                            + (float)((float)((float)(unsigned int)v16 * 2.3283e-10) * v18))\n                    * 4.6566e-10;\n          *result = (float)((float)((float)(1.0 - (float)((float)v12 * 2.3283e-10)) * v15)\n                          + (float)((float)((float)v12 * 2.3283e-10) * v14))\n                  * 4.6566e-10;\n          result[3] = (float)((float)((float)(1.0 - (float)((float)(unsigned int)v23 * 2.3283e-10)) * v25)\n                            + (float)((float)((float)(unsigned int)v23 * 2.3283e-10) * v24))\n                    * 4.6566e-10;\n          result += 4;\n        }\n        for ( i = a2 & 3; i; --i )\n        {\n          *result++ = (float)((float)((float)(1.0 - (float)((float)*a5 * 2.3283e-10)) * (float)*(int *)(a3 + 4 * a5[1]))\n                            + (float)((float)((float)*a5 * 2.3283e-10) * (float)*(int *)(a3 + 4 * a5[1] + 4)))\n                    * 4.6566e-10;\n          *(_QWORD *)a5 += *(_QWORD *)a6;\n        }\n      }\n      else\n      {\n        while ( a2 )\n        {\n          v32 = 0;\n          v33 = (float)*a5 * 2.3283e-10;\n          while ( v32 < a7 )\n          {\n            v34 = a5[1];\n            v35 = (int *)(a3 + 4 * (v32 + v34 * a7));\n            v36 = (int *)(a3 + 4 * a7 * (v34 + 1) + 4 * v32++);\n            *result++ = (float)((float)((float)(1.0 - v33) * (float)*v35) + (float)(v33 * (float)*v36)) * 4.6566e-10;\n          }\n          --a2;\n          *(_QWORD *)a5 += *(_QWORD *)a6;\n        }\n      }\n      break;\n    case 5:\n      switch ( a7 )\n      {\n        case 1:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 28))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 2:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 32))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 4:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 36))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 6:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 40))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        case 8:\n          result = (float *)(*(int (__fastcall **)(float *, int, int, unsigned int *))(dword_1257CC + 44))(\n                              result,\n                              a2,\n                              a3,\n                              a5);\n          break;\n        default:\n          result = (float *)sub_A0880(result, a2, a3, a5);\n          break;\n      }\n      break;\n    default:\n      return result;\n  }\n  return result;\n}", "assembly": "; \n; sub_9F7C0 from 0x9f7c0 to 0x9fc9e (1246 bytes)\n; \n; 2 xrefs:\n; > sub_9E2D0 @ 0x9e32a\n; > sub_A6A2C @ 0xa6cc2\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:32 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x9f7c0\nADD             R7, SP, #0xC                                           ; +0x2, 0x9f7c2\nPUSH.W          {R5-R11}                                               ; +0x4, 0x9f7c4\nSUBS            R4, R3, #1; switch 5 cases                             ; +0x8, 0x9f7c8\nCMP             R4, #4                                                 ; +0xa, 0x9f7ca\nBHI.W           def_9F7D8; jumptable 0009F7D8 default case             ; +0xc, 0x9f7cc\nADD.W           LR, R7, #-0x1C+arg_0                                   ; +0x10, 0x9f7d0\nLDM.W           LR, {R3,R12,LR}                                        ; +0x14, 0x9f7d4\nTBH.W           [PC,R4,LSL#1]; switch jump                             ; +0x18, 0x9f7d8\nDCW 5; jump table for switch statement                                 ; +0x1c, 0x9f7dc\nDCW 0x12                                                               ; +0x1e, 0x9f7de\nDCW 0x26                                                               ; +0x20, 0x9f7e0\nDCW 0x71                                                               ; +0x22, 0x9f7e2\nDCW 0x10D                                                              ; +0x24, 0x9f7e4\nCMP.W           LR, #1; jumptable 0009F7D8 case 1                      ; +0x26, 0x9f7e6\nBEQ.W           loc_9FBB4                                              ; +0x2a, 0x9f7ea\nCMP.W           LR, #2                                                 ; +0x2e, 0x9f7ee\nBNE.W           loc_9FBBE                                              ; +0x32, 0x9f7f2\nLDR             R4, =(dword_1257CC - 0x9F7FC)                          ; +0x36, 0x9f7f6\nADD             R4, PC; dword_1257CC                                   ; +0x38, 0x9f7f8\nLDR             R4, [R4]                                               ; +0x3a, 0x9f7fa\nLDR             R4, [R4,#4]                                            ; +0x3c, 0x9f7fc\nB               loc_9FC92                                              ; +0x3e, 0x9f7fe\nSUB.W           R4, LR, #1; jumptable 0009F7D8 case 2                  ; +0x40, 0x9f800\nCMP             R4, #7                                                 ; +0x44, 0x9f804\nBHI.W           def_9F80A; jumptable 0009F80A default case, cases 3,5,7 ; +0x46, 0x9f806\nTBH.W           [PC,R4,LSL#1]; switch jump                             ; +0x4a, 0x9f80a\nDCW 8; jump table for switch statement                                 ; +0x4e, 0x9f80e\nDCW 0x211                                                              ; +0x50, 0x9f810\nDCW 0x216                                                              ; +0x52, 0x9f812\nDCW 0x21B                                                              ; +0x54, 0x9f814\nDCW 0x216                                                              ; +0x56, 0x9f816\nDCW 0x220                                                              ; +0x58, 0x9f818\nDCW 0x216                                                              ; +0x5a, 0x9f81a\nDCW 0x225                                                              ; +0x5c, 0x9f81c\nLDR             R4, =(dword_1257CC - 0x9F824); jumptable 0009F80A case 1 ; +0x5e, 0x9f81e\nADD             R4, PC; dword_1257CC                                   ; +0x60, 0x9f820\nLDR             R4, [R4]                                               ; +0x62, 0x9f822\nLDR             R4, [R4,#8]                                            ; +0x64, 0x9f824\nB               loc_9FC92                                              ; +0x66, 0x9f826\nCMP.W           LR, #1; jumptable 0009F7D8 case 3                      ; +0x68, 0x9f828\nBNE.W           loc_9FA1E                                              ; +0x6c, 0x9f82c\nVMOV.F32        S2, #1.0                                               ; +0x70, 0x9f830\nVLDR            S0, =2.3283e-10                                        ; +0x74, 0x9f834\nVLDR            S4, =1.1921e-7                                         ; +0x78, 0x9f838\nCMP             R1, #0                                                 ; +0x7c, 0x9f83c\nBEQ.W           def_9F7D8; jumptable 0009F7D8 default case             ; +0x7e, 0x9f83e\nLDR             R4, [R3,#4]                                            ; +0x82, 0x9f842\nSUBS            R1, #1                                                 ; +0x84, 0x9f844\nADD.W           R4, R4, R4,LSL#1                                       ; +0x86, 0x9f846\nLDRB.W          LR, [R2,R4]                                            ; +0x8a, 0x9f84a\nADD             R4, R2                                                 ; +0x8e, 0x9f84e\nLDRB            R6, [R4,#1]                                            ; +0x90, 0x9f850\nLDRB            R5, [R4,#2]                                            ; +0x92, 0x9f852\nLDRB.W          R8, [R4,#3]                                            ; +0x94, 0x9f854\nLSLS            R6, R6, #0x10                                          ; +0x98, 0x9f858\nLDRB.W          R9, [R4,#4]                                            ; +0x9a, 0x9f85a\nORR.W           R6, R6, LR,LSL#8                                       ; +0x9e, 0x9f85e\nORR.W           R5, R6, R5,LSL#24                                      ; +0xa2, 0x9f862\nASRS            R5, R5, #8                                             ; +0xa6, 0x9f866\nVMOV            S6, R5                                                 ; +0xa8, 0x9f868\nMOV.W           R5, R9,LSL#16                                          ; +0xac, 0x9f86c\nORR.W           R5, R5, R8,LSL#8                                       ; +0xb0, 0x9f870\nVCVT.F32.S32    S6, S6                                                 ; +0xb4, 0x9f874\nVLDR            S8, [R3]                                               ; +0xb8, 0x9f878\nVCVT.F32.U32    S8, S8                                                 ; +0xbc, 0x9f87c\nLDRB            R4, [R4,#5]                                            ; +0xc0, 0x9f880\nORR.W           R4, R5, R4,LSL#24                                      ; +0xc2, 0x9f882\nASRS            R4, R4, #8                                             ; +0xc6, 0x9f886\nVMUL.F32        S8, S8, S0                                             ; +0xc8, 0x9f888\nVSUB.F32        S10, S2, S8                                            ; +0xcc, 0x9f88c\nVMUL.F32        S6, S10, S6                                            ; +0xd0, 0x9f890\nVMOV            S10, R4                                                ; +0xd4, 0x9f894\nVCVT.F32.S32    S10, S10                                               ; +0xd8, 0x9f898\nVMLA.F32        S6, S8, S10                                            ; +0xdc, 0x9f89c\nVMUL.F32        S6, S6, S4                                             ; +0xe0, 0x9f8a0\nVSTR            S6, [R0]                                               ; +0xe4, 0x9f8a4\nADDS            R0, #4                                                 ; +0xe8, 0x9f8a8\nLDRD.W          R4, LR, [R12]                                          ; +0xea, 0x9f8aa\nLDRD.W          R6, R5, [R3]                                           ; +0xee, 0x9f8ae\nADDS            R4, R4, R6                                             ; +0xf2, 0x9f8b2\nADC.W           R5, R5, LR                                             ; +0xf4, 0x9f8b4\nSTRD.W          R4, R5, [R3]                                           ; +0xf8, 0x9f8b8\nB               loc_9F83C                                              ; +0xfc, 0x9f8bc\nCMP.W           LR, #1; jumptable 0009F7D8 case 4                      ; +0xfe, 0x9f8be\nBNE.W           loc_9FAC8                                              ; +0x102, 0x9f8c2\nVMOV.F32        S2, #1.0                                               ; +0x106, 0x9f8c6\nVLDR            S0, =2.3283e-10                                        ; +0x10a, 0x9f8ca\nVLDR            S4, =4.6566e-10                                        ; +0x10e, 0x9f8ce\nMOV.W           LR, R1,ASR#2                                           ; +0x112, 0x9f8d2\nCMP.W           LR, #0                                                 ; +0x116, 0x9f8d6\nBEQ.W           loc_9FB44                                              ; +0x11a, 0x9f8da\nLDRD.W          R8, R5, [R3]                                           ; +0x11e, 0x9f8de\nSUB.W           LR, LR, #1                                             ; +0x122, 0x9f8e2\nADD.W           R4, R2, R5,LSL#2                                       ; +0x126, 0x9f8e6\nVLDR            S6, [R4]                                               ; +0x12a, 0x9f8ea\nVLDR            S8, [R4,#4]                                            ; +0x12e, 0x9f8ee\nVCVT.F32.S32    S8, S8                                                 ; +0x132, 0x9f8f2\nVCVT.F32.S32    S6, S6                                                 ; +0x136, 0x9f8f6\nLDRD.W          R4, R6, [R12]                                          ; +0x13a, 0x9f8fa\nADDS.W          R9, R8, R4                                             ; +0x13e, 0x9f8fe\nADCS            R5, R6                                                 ; +0x142, 0x9f902\nADD.W           R6, R2, R5,LSL#2                                       ; +0x144, 0x9f904\nSTRD.W          R9, R5, [R3]                                           ; +0x148, 0x9f908\nVLDR            S10, [R6]                                              ; +0x14c, 0x9f90c\nVLDR            S12, [R6,#4]                                           ; +0x150, 0x9f910\nVCVT.F32.S32    S12, S12                                               ; +0x154, 0x9f914\nVCVT.F32.S32    S10, S10                                               ; +0x158, 0x9f918\nLDRD.W          R6, R4, [R12]                                          ; +0x15c, 0x9f91c\nADDS.W          R6, R6, R9                                             ; +0x160, 0x9f920\nADCS            R4, R5                                                 ; +0x164, 0x9f924\nADD.W           R5, R2, R4,LSL#2                                       ; +0x166, 0x9f926\nSTRD.W          R6, R4, [R3]                                           ; +0x16a, 0x9f92a\nVMOV            S7, R6                                                 ; +0x16e, 0x9f92e\nVLDR            S14, [R5]                                              ; +0x172, 0x9f932\nVLDR            S1, [R5,#4]                                            ; +0x176, 0x9f936\nVCVT.F32.S32    S1, S1                                                 ; +0x17a, 0x9f93a\nVCVT.F32.S32    S14, S14                                               ; +0x17e, 0x9f93e\nLDRD.W          R5, R10, [R12]                                         ; +0x182, 0x9f942\nADDS.W          R11, R5, R6                                            ; +0x186, 0x9f946\nADC.W           R4, R4, R10                                            ; +0x18a, 0x9f94a\nADD.W           R5, R2, R4,LSL#2                                       ; +0x18e, 0x9f94e\nSTRD.W          R11, R4, [R3]                                          ; +0x192, 0x9f952\nVLDR            S3, [R5]                                               ; +0x196, 0x9f956\nVLDR            S5, [R5,#4]                                            ; +0x19a, 0x9f95a\nVCVT.F32.S32    S5, S5                                                 ; +0x19e, 0x9f95e\nVCVT.F32.S32    S3, S3                                                 ; +0x1a2, 0x9f962\nLDRD.W          R5, R10, [R12]                                         ; +0x1a6, 0x9f966\nADDS.W          R5, R5, R11                                            ; +0x1aa, 0x9f96a\nADC.W           R4, R4, R10                                            ; +0x1ae, 0x9f96e\nSTRD.W          R5, R4, [R3]                                           ; +0x1b2, 0x9f972\nVCVT.F32.U32    S7, S7                                                 ; +0x1b6, 0x9f976\nVMUL.F32        S7, S7, S0                                             ; +0x1ba, 0x9f97a\nVSUB.F32        S9, S2, S7                                             ; +0x1be, 0x9f97e\nVMUL.F32        S14, S9, S14                                           ; +0x1c2, 0x9f982\nVMLA.F32        S14, S7, S1                                            ; +0x1c6, 0x9f986\nVMUL.F32        S14, S14, S4                                           ; +0x1ca, 0x9f98a\nVSTR            S14, [R0,#8]                                           ; +0x1ce, 0x9f98e\nVMOV            S14, R9                                                ; +0x1d2, 0x9f992\nVCVT.F32.U32    S14, S14                                               ; +0x1d6, 0x9f996\nVMUL.F32        S14, S14, S0                                           ; +0x1da, 0x9f99a\nVSUB.F32        S1, S2, S14                                            ; +0x1de, 0x9f99e\nVMUL.F32        S10, S1, S10                                           ; +0x1e2, 0x9f9a2\nVMLA.F32        S10, S14, S12                                          ; +0x1e6, 0x9f9a6\nVMUL.F32        S10, S10, S4                                           ; +0x1ea, 0x9f9aa\nVSTR            S10, [R0,#4]                                           ; +0x1ee, 0x9f9ae\nVMOV            S10, R8                                                ; +0x1f2, 0x9f9b2\nVCVT.F32.U32    S10, S10                                               ; +0x1f6, 0x9f9b6\nVMUL.F32        S10, S10, S0                                           ; +0x1fa, 0x9f9ba\nVSUB.F32        S12, S2, S10                                           ; +0x1fe, 0x9f9be\nVMUL.F32        S6, S12, S6                                            ; +0x202, 0x9f9c2\nVMLA.F32        S6, S10, S8                                            ; +0x206, 0x9f9c6\nVMUL.F32        S6, S6, S4                                             ; +0x20a, 0x9f9ca\nVSTR            S6, [R0]                                               ; +0x20e, 0x9f9ce\nVMOV            S6, R11                                                ; +0x212, 0x9f9d2\nVCVT.F32.U32    S6, S6                                                 ; +0x216, 0x9f9d6\nVMUL.F32        S6, S6, S0                                             ; +0x21a, 0x9f9da\nVSUB.F32        S8, S2, S6                                             ; +0x21e, 0x9f9de\nVMUL.F32        S8, S8, S3                                             ; +0x222, 0x9f9e2\nVMLA.F32        S8, S6, S5                                             ; +0x226, 0x9f9e6\nVMUL.F32        S6, S8, S4                                             ; +0x22a, 0x9f9ea\nVSTR            S6, [R0,#0xC]                                          ; +0x22e, 0x9f9ee\nADDS            R0, #0x10                                              ; +0x232, 0x9f9f2\nB               loc_9F8D6                                              ; +0x234, 0x9f9f4\nSUB.W           R4, LR, #1; jumptable 0009F7D8 case 5                  ; +0x236, 0x9f9f6\nCMP             R4, #7                                                 ; +0x23a, 0x9f9fa\nBHI.W           def_9FA00; jumptable 0009FA00 default case, cases 3,5,7 ; +0x23c, 0x9f9fc\nTBH.W           [PC,R4,LSL#1]; switch jump                             ; +0x240, 0x9fa00\nDCW 8; jump table for switch statement                                 ; +0x244, 0x9fa04\nDCW 0x12F                                                              ; +0x246, 0x9fa06\nDCW 0x134                                                              ; +0x248, 0x9fa08\nDCW 0x139                                                              ; +0x24a, 0x9fa0a\nDCW 0x134                                                              ; +0x24c, 0x9fa0c\nDCW 0x13E                                                              ; +0x24e, 0x9fa0e\nDCW 0x134                                                              ; +0x250, 0x9fa10\nDCW 0x143                                                              ; +0x252, 0x9fa12\nLDR             R4, =(dword_1257CC - 0x9FA1A); jumptable 0009FA00 case 1 ; +0x254, 0x9fa14\nADD             R4, PC; dword_1257CC                                   ; +0x256, 0x9fa16\nLDR             R4, [R4]                                               ; +0x258, 0x9fa18\nLDR             R4, [R4,#0x1C]                                         ; +0x25a, 0x9fa1a\nB               loc_9FC92                                              ; +0x25c, 0x9fa1c\nVMOV.F32        S2, #1.0                                               ; +0x25e, 0x9fa1e\nADD.W           R8, LR, LR,LSL#1                                       ; +0x262, 0x9fa22\nVLDR            S0, =2.3283e-10                                        ; +0x266, 0x9fa26\nVLDR            S4, =1.1921e-7                                         ; +0x26a, 0x9fa2a\nCMP             R1, #0                                                 ; +0x26e, 0x9fa2e\nBEQ.W           def_9F7D8; jumptable 0009F7D8 default case             ; +0x270, 0x9fa30\nVLDR            S6, [R3]                                               ; +0x274, 0x9fa34\nMOV.W           R10, #0                                                ; +0x278, 0x9fa38\nVCVT.F32.U32    S6, S6                                                 ; +0x27c, 0x9fa3c\nVMUL.F32        S6, S6, S0                                             ; +0x280, 0x9fa40\nVSUB.F32        S8, S2, S6                                             ; +0x284, 0x9fa44\nCMP             R10, LR                                                ; +0x288, 0x9fa48\nBGE             loc_9FAB2                                              ; +0x28a, 0x9fa4a\nLDR             R5, [R3,#4]                                            ; +0x28c, 0x9fa4c\nMLA             R6, R5, LR, R10                                        ; +0x28e, 0x9fa4e\nADD.W           R6, R6, R6,LSL#1                                       ; +0x292, 0x9fa52\nLDRB.W          R9, [R2,R6]                                            ; +0x296, 0x9fa56\nADD             R6, R2                                                 ; +0x29a, 0x9fa5a\nLDRB            R4, [R6,#1]                                            ; +0x29c, 0x9fa5c\nLDRB            R6, [R6,#2]                                            ; +0x29e, 0x9fa5e\nLSLS            R4, R4, #0x10                                          ; +0x2a0, 0x9fa60\nORR.W           R4, R4, R9,LSL#8                                       ; +0x2a2, 0x9fa62\nORR.W           R4, R4, R6,LSL#24                                      ; +0x2a6, 0x9fa66\nASRS            R4, R4, #8                                             ; +0x2aa, 0x9fa6a\nVMOV            S10, R4                                                ; +0x2ac, 0x9fa6c\nADDS            R4, R5, #1                                             ; +0x2b0, 0x9fa70\nADD.W           R5, R10, R10,LSL#1                                     ; +0x2b2, 0x9fa72\nADD.W           R10, R10, #1                                           ; +0x2b6, 0x9fa76\nMLA             R4, R8, R4, R2                                         ; +0x2ba, 0x9fa7a\nVCVT.F32.S32    S10, S10                                               ; +0x2be, 0x9fa7e\nLDRB            R6, [R4,R5]                                            ; +0x2c2, 0x9fa82\nADD             R4, R5                                                 ; +0x2c4, 0x9fa84\nVMUL.F32        S10, S8, S10                                           ; +0x2c6, 0x9fa86\nLDRB            R5, [R4,#1]                                            ; +0x2ca, 0x9fa8a\nLDRB            R4, [R4,#2]                                            ; +0x2cc, 0x9fa8c\nLSLS            R5, R5, #0x10                                          ; +0x2ce, 0x9fa8e\nORR.W           R5, R5, R6,LSL#8                                       ; +0x2d0, 0x9fa90\nORR.W           R4, R5, R4,LSL#24                                      ; +0x2d4, 0x9fa94\nASRS            R4, R4, #8                                             ; +0x2d8, 0x9fa98\nVMOV            S12, R4                                                ; +0x2da, 0x9fa9a\nVCVT.F32.S32    S12, S12                                               ; +0x2de, 0x9fa9e\nVMLA.F32        S10, S6, S12                                           ; +0x2e2, 0x9faa2\nVMUL.F32        S10, S10, S4                                           ; +0x2e6, 0x9faa6\nVSTR            S10, [R0]                                              ; +0x2ea, 0x9faaa\nADDS            R0, #4                                                 ; +0x2ee, 0x9faae\nB               loc_9FA48                                              ; +0x2f0, 0x9fab0\nLDRD.W          R4, R9, [R12]                                          ; +0x2f2, 0x9fab2\nSUBS            R1, #1                                                 ; +0x2f6, 0x9fab6\nLDRD.W          R6, R5, [R3]                                           ; +0x2f8, 0x9fab8\nADDS            R4, R4, R6                                             ; +0x2fc, 0x9fabc\nADC.W           R5, R5, R9                                             ; +0x2fe, 0x9fabe\nSTRD.W          R4, R5, [R3]                                           ; +0x302, 0x9fac2\nB               loc_9FA2E                                              ; +0x306, 0x9fac6\nVMOV.F32        S2, #1.0                                               ; +0x308, 0x9fac8\nVLDR            S0, =2.3283e-10                                        ; +0x30c, 0x9facc\nVLDR            S4, =4.6566e-10                                        ; +0x310, 0x9fad0\nMOV.W           R8, LR,LSL#2                                           ; +0x314, 0x9fad4\nCMP             R1, #0                                                 ; +0x318, 0x9fad8\nBEQ.W           def_9F7D8; jumptable 0009F7D8 default case             ; +0x31a, 0x9fada\nVLDR            S6, [R3]                                               ; +0x31e, 0x9fade\nMOVS            R4, #0                                                 ; +0x322, 0x9fae2\nVCVT.F32.U32    S6, S6                                                 ; +0x324, 0x9fae4\nVMUL.F32        S6, S6, S0                                             ; +0x328, 0x9fae8\nVSUB.F32        S8, S2, S6                                             ; +0x32c, 0x9faec\nCMP             R4, LR                                                 ; +0x330, 0x9faf0\nBGE             loc_9FB2E                                              ; +0x332, 0x9faf2\nLDR             R5, [R3,#4]                                            ; +0x334, 0x9faf4\nMLA             R6, R5, LR, R4                                         ; +0x336, 0x9faf6\nADDS            R5, #1                                                 ; +0x33a, 0x9fafa\nMLA             R5, R8, R5, R2                                         ; +0x33c, 0x9fafc\nADD.W           R6, R2, R6,LSL#2                                       ; +0x340, 0x9fb00\nADD.W           R5, R5, R4,LSL#2                                       ; +0x344, 0x9fb04\nADDS            R4, #1                                                 ; +0x348, 0x9fb08\nVLDR            S10, [R6]                                              ; +0x34a, 0x9fb0a\nVCVT.F32.S32    S10, S10                                               ; +0x34e, 0x9fb0e\nVLDR            S12, [R5]                                              ; +0x352, 0x9fb12\nVCVT.F32.S32    S12, S12                                               ; +0x356, 0x9fb16\nVMUL.F32        S10, S8, S10                                           ; +0x35a, 0x9fb1a\nVMLA.F32        S10, S6, S12                                           ; +0x35e, 0x9fb1e\nVMUL.F32        S10, S10, S4                                           ; +0x362, 0x9fb22\nVSTR            S10, [R0]                                              ; +0x366, 0x9fb26\nADDS            R0, #4                                                 ; +0x36a, 0x9fb2a\nB               loc_9FAF0                                              ; +0x36c, 0x9fb2c\nLDRD.W          R4, R9, [R12]                                          ; +0x36e, 0x9fb2e\nSUBS            R1, #1                                                 ; +0x372, 0x9fb32\nLDRD.W          R6, R5, [R3]                                           ; +0x374, 0x9fb34\nADDS            R4, R4, R6                                             ; +0x378, 0x9fb38\nADC.W           R5, R5, R9                                             ; +0x37a, 0x9fb3a\nSTRD.W          R4, R5, [R3]                                           ; +0x37e, 0x9fb3e\nB               loc_9FAD8                                              ; +0x382, 0x9fb42\nAND.W           LR, R1, #3                                             ; +0x384, 0x9fb44\nCMP.W           LR, #0                                                 ; +0x388, 0x9fb48\nBEQ.W           def_9F7D8; jumptable 0009F7D8 default case             ; +0x38c, 0x9fb4c\nVLDR            S6, [R3]                                               ; +0x390, 0x9fb50\nSUB.W           LR, LR, #1                                             ; +0x394, 0x9fb54\nVCVT.F32.U32    S6, S6                                                 ; +0x398, 0x9fb58\nLDR             R4, [R3,#4]                                            ; +0x39c, 0x9fb5c\nADD.W           R4, R2, R4,LSL#2                                       ; +0x39e, 0x9fb5e\nVLDR            S10, [R4]                                              ; +0x3a2, 0x9fb62\nVLDR            S12, [R4,#4]                                           ; +0x3a6, 0x9fb66\nVMUL.F32        S6, S6, S0                                             ; +0x3aa, 0x9fb6a\nVCVT.F32.S32    S10, S10                                               ; +0x3ae, 0x9fb6e\nVSUB.F32        S8, S2, S6                                             ; +0x3b2, 0x9fb72\nVMUL.F32        S8, S8, S10                                            ; +0x3b6, 0x9fb76\nVCVT.F32.S32    S10, S12                                               ; +0x3ba, 0x9fb7a\nVMLA.F32        S8, S6, S10                                            ; +0x3be, 0x9fb7e\nVMUL.F32        S6, S8, S4                                             ; +0x3c2, 0x9fb82\nVSTR            S6, [R0]                                               ; +0x3c6, 0x9fb86\nADDS            R0, #4                                                 ; +0x3ca, 0x9fb8a\nLDRD.W          R4, R5, [R12]                                          ; +0x3cc, 0x9fb8c\nLDRD.W          R6, R1, [R3]                                           ; +0x3d0, 0x9fb90\nADDS            R4, R4, R6                                             ; +0x3d4, 0x9fb94\nADCS            R1, R5                                                 ; +0x3d6, 0x9fb96\nSTRD.W          R4, R1, [R3]                                           ; +0x3d8, 0x9fb98\nB               loc_9FB48                                              ; +0x3dc, 0x9fb9c\nALIGN 0x10                                                             ; +0x3de, 0x9fb9e\nDCD dword_1257CC - 0x9F7FC                                             ; +0x3e0, 0x9fba0\nDCD dword_1257CC - 0x9F824                                             ; +0x3e4, 0x9fba4\nDCFS 2.3283e-10                                                        ; +0x3e8, 0x9fba8\nDCFS 1.1921e-7                                                         ; +0x3ec, 0x9fbac\nDCFS 4.6566e-10                                                        ; +0x3f0, 0x9fbb0\nLDR             R4, =(dword_1257CC - 0x9FBBA)                          ; +0x3f4, 0x9fbb4\nADD             R4, PC; dword_1257CC                                   ; +0x3f6, 0x9fbb6\nLDR             R4, [R4]                                               ; +0x3f8, 0x9fbb8\nLDR             R4, [R4]                                               ; +0x3fa, 0x9fbba\nB               loc_9FC92                                              ; +0x3fc, 0x9fbbc\nVMOV.F32        S2, #1.0                                               ; +0x3fe, 0x9fbbe\nVLDR            S0, =2.3283e-10                                        ; +0x402, 0x9fbc2\nVLDR            S4, =0.0078125                                         ; +0x406, 0x9fbc6\nCMP             R1, #0                                                 ; +0x40a, 0x9fbca\nBEQ             def_9F7D8; jumptable 0009F7D8 default case             ; +0x40c, 0x9fbcc\nVLDR            S6, [R3]                                               ; +0x40e, 0x9fbce\nMOVS            R4, #0                                                 ; +0x412, 0x9fbd2\nVCVT.F32.U32    S6, S6                                                 ; +0x414, 0x9fbd4\nVMUL.F32        S6, S6, S0                                             ; +0x418, 0x9fbd8\nVSUB.F32        S8, S2, S6                                             ; +0x41c, 0x9fbdc\nCMP             R4, LR                                                 ; +0x420, 0x9fbe0\nBGE             loc_9FC1A                                              ; +0x422, 0x9fbe2\nLDR             R6, [R3,#4]                                            ; +0x424, 0x9fbe4\nMLA             R5, R6, LR, R2                                         ; +0x426, 0x9fbe6\nLDRSB           R5, [R5,R4]                                            ; +0x42a, 0x9fbea\nVMOV            S10, R5                                                ; +0x42c, 0x9fbec\nADDS            R5, R6, #1                                             ; +0x430, 0x9fbf0\nMLA             R5, R5, LR, R2                                         ; +0x432, 0x9fbf2\nVCVT.F32.S32    S10, S10                                               ; +0x436, 0x9fbf6\nLDRSB           R5, [R5,R4]                                            ; +0x43a, 0x9fbfa\nADDS            R4, #1                                                 ; +0x43c, 0x9fbfc\nVMUL.F32        S10, S8, S10                                           ; +0x43e, 0x9fbfe\nVMOV            S12, R5                                                ; +0x442, 0x9fc02\nVCVT.F32.S32    S12, S12                                               ; +0x446, 0x9fc06\nVMLA.F32        S10, S6, S12                                           ; +0x44a, 0x9fc0a\nVMUL.F32        S10, S10, S4                                           ; +0x44e, 0x9fc0e\nVSTR            S10, [R0]                                              ; +0x452, 0x9fc12\nADDS            R0, #4                                                 ; +0x456, 0x9fc16\nB               loc_9FBE0                                              ; +0x458, 0x9fc18\nLDRD.W          R4, R8, [R12]                                          ; +0x45a, 0x9fc1a\nSUBS            R1, #1                                                 ; +0x45e, 0x9fc1e\nLDRD.W          R6, R5, [R3]                                           ; +0x460, 0x9fc20\nADDS            R4, R4, R6                                             ; +0x464, 0x9fc24\nADC.W           R5, R5, R8                                             ; +0x466, 0x9fc26\nSTRD.W          R4, R5, [R3]                                           ; +0x46a, 0x9fc2a\nB               loc_9FBCA                                              ; +0x46e, 0x9fc2e\nLDR             R4, =(dword_1257CC - 0x9FC36); jumptable 0009F80A case 2 ; +0x470, 0x9fc30\nADD             R4, PC; dword_1257CC                                   ; +0x472, 0x9fc32\nLDR             R4, [R4]                                               ; +0x474, 0x9fc34\nLDR             R4, [R4,#0xC]                                          ; +0x476, 0x9fc36\nB               loc_9FC92                                              ; +0x478, 0x9fc38\nSTRD.W          R12, LR, [SP,#0xC+var_C]; jumptable 0009F80A default case, cases 3,5,7 ; +0x47a, 0x9fc3a\nBL              sub_A050C                                              ; +0x47e, 0x9fc3e\nB               def_9F7D8; jumptable 0009F7D8 default case             ; +0x482, 0x9fc42\nLDR             R4, =(dword_1257CC - 0x9FC4A); jumptable 0009F80A case 4 ; +0x484, 0x9fc44\nADD             R4, PC; dword_1257CC                                   ; +0x486, 0x9fc46\nLDR             R4, [R4]                                               ; +0x488, 0x9fc48\nLDR             R4, [R4,#0x10]                                         ; +0x48a, 0x9fc4a\nB               loc_9FC92                                              ; +0x48c, 0x9fc4c\nLDR             R4, =(dword_1257CC - 0x9FC54); jumptable 0009F80A case 6 ; +0x48e, 0x9fc4e\nADD             R4, PC; dword_1257CC                                   ; +0x490, 0x9fc50\nLDR             R4, [R4]                                               ; +0x492, 0x9fc52\nLDR             R4, [R4,#0x14]                                         ; +0x494, 0x9fc54\nB               loc_9FC92                                              ; +0x496, 0x9fc56\nLDR             R4, =(dword_1257CC - 0x9FC5E); jumptable 0009F80A case 8 ; +0x498, 0x9fc58\nADD             R4, PC; dword_1257CC                                   ; +0x49a, 0x9fc5a\nLDR             R4, [R4]                                               ; +0x49c, 0x9fc5c\nLDR             R4, [R4,#0x18]                                         ; +0x49e, 0x9fc5e\nB               loc_9FC92                                              ; +0x4a0, 0x9fc60\nLDR             R4, =(dword_1257CC - 0x9FC68); jumptable 0009FA00 case 2 ; +0x4a2, 0x9fc62\nADD             R4, PC; dword_1257CC                                   ; +0x4a4, 0x9fc64\nLDR             R4, [R4]                                               ; +0x4a6, 0x9fc66\nLDR             R4, [R4,#0x20]                                         ; +0x4a8, 0x9fc68\nB               loc_9FC92                                              ; +0x4aa, 0x9fc6a\nSTRD.W          R12, LR, [SP,#0xC+var_C]; jumptable 0009FA00 default case, cases 3,5,7 ; +0x4ac, 0x9fc6c\nBL              sub_A0880                                              ; +0x4b0, 0x9fc70\nB               def_9F7D8; jumptable 0009F7D8 default case             ; +0x4b4, 0x9fc74\nLDR             R4, =(dword_1257CC - 0x9FC7C); jumptable 0009FA00 case 4 ; +0x4b6, 0x9fc76\nADD             R4, PC; dword_1257CC                                   ; +0x4b8, 0x9fc78\nLDR             R4, [R4]                                               ; +0x4ba, 0x9fc7a\nLDR             R4, [R4,#0x24]                                         ; +0x4bc, 0x9fc7c\nB               loc_9FC92                                              ; +0x4be, 0x9fc7e\nLDR             R4, =(dword_1257CC - 0x9FC86); jumptable 0009FA00 case 6 ; +0x4c0, 0x9fc80\nADD             R4, PC; dword_1257CC                                   ; +0x4c2, 0x9fc82\nLDR             R4, [R4]                                               ; +0x4c4, 0x9fc84\nLDR             R4, [R4,#0x28]                                         ; +0x4c6, 0x9fc86\nB               loc_9FC92                                              ; +0x4c8, 0x9fc88\nLDR             R4, =(dword_1257CC - 0x9FC90); jumptable 0009FA00 case 8 ; +0x4ca, 0x9fc8a\nADD             R4, PC; dword_1257CC                                   ; +0x4cc, 0x9fc8c\nLDR             R4, [R4]                                               ; +0x4ce, 0x9fc8e\nLDR             R4, [R4,#0x2C]                                         ; +0x4d0, 0x9fc90\nSTR.W           R12, [SP,#0xC+var_C]                                   ; +0x4d2, 0x9fc92\nBLX             R4                                                     ; +0x4d6, 0x9fc96\nPOP.W           {R1-R3,R8-R11}; jumptable 0009F7D8 default case        ; +0x4d8, 0x9fc98\nPOP             {R4-R7,PC}                                             ; +0x4dc, 0x9fc9c", "xrefs": ["sub_9E2D0 @ 0x9e32a", "sub_A6A2C @ 0xa6cc2"], "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"}