{"type": "func", "start": 620256, "end": 620428, "name": "sub_976E0", "pseudocode": "// \n// sub_976E0 from 0x976e0 to 0x9778c (172 bytes)\n// \n// 1 xrefs:\n// > sub_9778C @ 0x977e6\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall sub_976E0(\n        int a1,\n        float a2,\n        float a3,\n        float a4,\n        float a5,\n        float a6,\n        float a7,\n        float *a8,\n        float a9,\n        float *a10)\n{\n  float v11; // s2\n  float v12; // s0\n  float v13; // s4\n  float v14; // s2\n  float v15; // s10\n  float v16; // s0\n  float v17; // s14\n  float v18; // s3\n\n  v11 = a9 * a9;\n  v12 = a9 + a9;\n  v13 = v11 * a7;\n  v14 = v11 * a4;\n  v15 = v12 * a6;\n  v16 = v12 * a3;\n  v17 = (float)(v15 + a5) + (float)(v13 * 4.0);\n  v18 = (float)(v16 + a2) + (float)(v14 * 4.0);\n  *a8 = (float)(*a8 * v18) / v17;\n  *a10 = (float)((float)(a5 + a5) - (float)(v13 * 8.0)) / v17;\n  a10[1] = (float)((float)(a5 - v15) + (float)(v13 * 4.0)) / v17;\n  a10[2] = (float)((float)(a2 + a2) - (float)(v14 * 8.0)) / v18;\n  a10[3] = (float)((float)(a2 - v16) + (float)(v14 * 4.0)) / v18;\n  return 0;\n}", "assembly": "; \n; sub_976E0 from 0x976e0 to 0x9778c (172 bytes)\n; \n; 1 xrefs:\n; > sub_9778C @ 0x977e6\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nVLDR            S0, [SP,#arg_10]                                       ; +0x0, 0x976e0\nVMOV            S1, R3                                                 ; +0x4, 0x976e4\nVLDR            S4, [SP,#arg_8]                                        ; +0x8, 0x976e8\nVMOV.F32        S6, #4.0                                               ; +0xc, 0x976ec\nVMUL.F32        S2, S0, S0                                             ; +0x10, 0x976f0\nVLDR            S10, [SP,#arg_4]                                       ; +0x14, 0x976f4\nVADD.F32        S0, S0, S0                                             ; +0x18, 0x976f8\nVLDR            S12, [SP,#arg_0]                                       ; +0x1c, 0x976fc\nLDR             R0, [SP,#arg_C]                                        ; +0x20, 0x97700\nVLDR            S5, [R0]                                               ; +0x22, 0x97702\nVMUL.F32        S4, S2, S4                                             ; +0x26, 0x97706\nVMUL.F32        S2, S2, S1                                             ; +0x2a, 0x9770a\nVMOV            S1, R2                                                 ; +0x2e, 0x9770e\nVMUL.F32        S10, S0, S10                                           ; +0x32, 0x97712\nVMUL.F32        S0, S0, S1                                             ; +0x36, 0x97716\nVMOV            S1, R1                                                 ; +0x3a, 0x9771a\nVMUL.F32        S8, S4, S6                                             ; +0x3e, 0x9771e\nVMUL.F32        S6, S2, S6                                             ; +0x42, 0x97722\nVADD.F32        S14, S10, S12                                          ; +0x46, 0x97726\nVADD.F32        S3, S0, S1                                             ; +0x4a, 0x9772a\nVSUB.F32        S0, S1, S0                                             ; +0x4e, 0x9772e\nVADD.F32        S14, S14, S8                                           ; +0x52, 0x97732\nVADD.F32        S3, S3, S6                                             ; +0x56, 0x97736\nVADD.F32        S0, S0, S6                                             ; +0x5a, 0x9773a\nVADD.F32        S6, S1, S1                                             ; +0x5e, 0x9773e\nVMOV.F32        S1, #8.0                                               ; +0x62, 0x97742\nVMUL.F32        S5, S5, S3                                             ; +0x66, 0x97746\nVDIV.F32        S0, S0, S3                                             ; +0x6a, 0x9774a\nVMLS.F32        S6, S2, S1                                             ; +0x6e, 0x9774e\nVDIV.F32        S5, S5, S14                                            ; +0x72, 0x97752\nVDIV.F32        S2, S6, S3                                             ; +0x76, 0x97756\nVSUB.F32        S6, S12, S10                                           ; +0x7a, 0x9775a\nVSTR            S5, [R0]                                               ; +0x7e, 0x9775e\nLDR             R0, [SP,#arg_14]                                       ; +0x82, 0x97762\nVADD.F32        S6, S6, S8                                             ; +0x84, 0x97764\nVADD.F32        S8, S12, S12                                           ; +0x88, 0x97768\nVMLS.F32        S8, S4, S1                                             ; +0x8c, 0x9776c\nVDIV.F32        S6, S6, S14                                            ; +0x90, 0x97770\nVDIV.F32        S4, S8, S14                                            ; +0x94, 0x97774\nVSTR            S4, [R0]                                               ; +0x98, 0x97778\nVSTR            S6, [R0,#4]                                            ; +0x9c, 0x9777c\nVSTR            S2, [R0,#8]                                            ; +0xa0, 0x97780\nVSTR            S0, [R0,#0xC]                                          ; +0xa4, 0x97784\nMOVS            R0, #0                                                 ; +0xa8, 0x97788\nBX              LR                                                     ; +0xaa, 0x9778a", "xrefs": ["sub_9778C @ 0x977e6"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}