{"type": "func", "start": 747584, "end": 747732, "name": "sub_B6840", "pseudocode": "// \n// sub_B6840 from 0xb6840 to 0xb68d4 (148 bytes)\n// \n// 1 xrefs:\n// > sub_B68D4 @ 0xb6954\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:39 +0000\n// \n\n__int64 __fastcall sub_B6840(\n        float a1,\n        float a2,\n        float a3,\n        float a4,\n        float a5,\n        float a6,\n        float a7,\n        __int64 a8,\n        float *a9,\n        float *a10)\n{\n  float v10; // s7\n  float v11; // s6\n  float v12; // s2\n  float v13; // s5\n  float v14; // s1\n  float v15; // s4\n  float v16; // s6\n  float v17; // s2\n  float v18; // s7\n  float v19; // s0\n  float v20; // s1\n\n  v10 = a7 * a7;\n  v11 = a7 + a7;\n  v12 = v10 * a3;\n  v13 = v10 * a6;\n  v14 = v11 * a2;\n  v15 = v11 * a5;\n  v16 = v12 * 4.0;\n  v17 = (float)(v12 * -8.0) + (float)(a1 * 2.0);\n  v18 = a1 - v14;\n  v19 = v14 + (float)(a1 + v16);\n  v20 = 1.0 / (float)(v15 + (float)(a4 + (float)(v13 * 4.0)));\n  *a9 = *a9 * (float)(v19 * v20);\n  *a10 = (float)((float)(v13 * -8.0) + (float)(a4 * 2.0)) * v20;\n  a10[1] = (float)((float)(a4 - v15) + (float)(v13 * 4.0)) * v20;\n  a10[2] = v17 / v19;\n  a10[3] = (float)(v18 + v16) / v19;\n  return 0;\n}", "assembly": "; \n; sub_B6840 from 0xb6840 to 0xb68d4 (148 bytes)\n; \n; 1 xrefs:\n; > sub_B68D4 @ 0xb6954\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:39 +0000\n; \nFMUL            S7, S6, S6                                             ; +0x0, 0xb6840\nFMOV            S16, #4.0                                              ; +0x4, 0xb6844\nFADD            S6, S6, S6                                             ; +0x8, 0xb6848\nFMOV            S19, #-8.0                                             ; +0xc, 0xb684c\nFMUL            S2, S7, S2                                             ; +0x10, 0xb6850\nFMUL            S5, S7, S5                                             ; +0x14, 0xb6854\nFMOV            S7, #2.0                                               ; +0x18, 0xb6858\nFMUL            S1, S6, S1                                             ; +0x1c, 0xb685c\nFMUL            S4, S6, S4                                             ; +0x20, 0xb6860\nFMUL            S6, S2, S16                                            ; +0x24, 0xb6864\nFMUL            S16, S5, S16                                           ; +0x28, 0xb6868\nFMUL            S5, S5, S19                                            ; +0x2c, 0xb686c\nFMUL            S2, S2, S19                                            ; +0x30, 0xb6870\nLDR             S17, [X1]                                              ; +0x34, 0xb6874\nFSUB            S19, S3, S4                                            ; +0x38, 0xb6878\nFMADD           S5, S3, S7, S5                                         ; +0x3c, 0xb687c\nFMADD           S2, S0, S7, S2                                         ; +0x40, 0xb6880\nFSUB            S7, S0, S1                                             ; +0x44, 0xb6884\nFADD            S0, S0, S6                                             ; +0x48, 0xb6888\nFADD            S3, S3, S16                                            ; +0x4c, 0xb688c\nFMOV            S18, #1.0                                              ; +0x50, 0xb6890\nFADD            S0, S1, S0                                             ; +0x54, 0xb6894\nFADD            S1, S4, S3                                             ; +0x58, 0xb6898\nFADD            S6, S7, S6                                             ; +0x5c, 0xb689c\nFDIV            S1, S18, S1                                            ; +0x60, 0xb68a0\nFADD            S16, S19, S16                                          ; +0x64, 0xb68a4\nFDIV            S2, S2, S0                                             ; +0x68, 0xb68a8\nFDIV            S3, S6, S0                                             ; +0x6c, 0xb68ac\nFMUL            S0, S0, S1                                             ; +0x70, 0xb68b0\nFMUL            S4, S5, S1                                             ; +0x74, 0xb68b4\nFMUL            S1, S16, S1                                            ; +0x78, 0xb68b8\nFMUL            S0, S17, S0                                            ; +0x7c, 0xb68bc\nMOV             W0, WZR                                                ; +0x80, 0xb68c0\nSTR             S0, [X1]                                               ; +0x84, 0xb68c4\nSTP             S4, S1, [X2]                                           ; +0x88, 0xb68c8\nSTP             S2, S3, [X2,#8]                                        ; +0x8c, 0xb68cc\nRET                                                                    ; +0x90, 0xb68d0", "xrefs": ["sub_B68D4 @ 0xb6954"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}