{"type": "func", "start": 742268, "end": 742808, "name": "sub_B537C", "pseudocode": "// \n// sub_B537C from 0xb537c to 0xb5598 (540 bytes)\n// \n// 1 xrefs:\n// > sub_B4F94 @ 0xb52a8\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\nfloat *__fastcall sub_B537C(float *result, float *a2, float *a3, float *a4, float *a5, float a6)\n{\n  int v6; // w8\n  int v7; // w9\n  __int128 v8; // q1\n  __int128 v9; // q2\n\n  *a2 = (float)((float)((float)((float)((float)((float)((float)((float)((float)((float)((float)(a6 * 0.001709)\n                                                                                      + (float)(*result * 0.010986))\n                                                                              + (float)(result[1] * -0.019653))\n                                                                      + (float)(result[2] * 0.033203))\n                                                              + (float)(result[3] * -0.059448))\n                                                      + (float)(result[4] * 0.13733))\n                                              + (float)(result[5] * 0.97217))\n                                      + (float)(result[6] * -0.10229))\n                              + (float)(result[7] * 0.047607))\n                      + (float)(result[8] * -0.026611))\n              + (float)(result[9] * 0.014893))\n      + (float)(result[10] * -0.0083008);\n  *a3 = (float)((float)((float)((float)((float)((float)((float)((float)((float)((float)((float)(a6 * -0.029175)\n                                                                                      + (float)(*result * 0.029297))\n                                                                              + (float)(result[1] * -0.051758))\n                                                                      + (float)(result[2] * 0.089111))\n                                                              + (float)(result[3] * -0.1665))\n                                                      + (float)(result[4] * 0.46509))\n                                              + (float)(result[5] * 0.77979))\n                                      + (float)(result[6] * -0.20032))\n                              + (float)(result[7] * 0.10156))\n                      + (float)(result[8] * -0.058228))\n              + (float)(result[9] * 0.033081))\n      + (float)(result[10] * -0.018921);\n  *a4 = (float)((float)((float)((float)((float)((float)((float)((float)((float)((float)((float)(a6 * -0.018921)\n                                                                                      + (float)(*result * 0.033081))\n                                                                              + (float)(result[1] * -0.058228))\n                                                                      + (float)(result[2] * 0.10156))\n                                                              + (float)(result[3] * -0.20032))\n                                                      + (float)(result[4] * 0.77979))\n                                              + (float)(result[5] * 0.46509))\n                                      + (float)(result[6] * -0.1665))\n                              + (float)(result[7] * 0.089111))\n                      + (float)(result[8] * -0.051758))\n              + (float)(result[9] * 0.029297))\n      + (float)(result[10] * -0.029175);\n  *a5 = (float)((float)((float)((float)((float)((float)((float)((float)((float)((float)((float)(a6 * -0.0083008)\n                                                                                      + (float)(*result * 0.014893))\n                                                                              + (float)(result[1] * -0.026611))\n                                                                      + (float)(result[2] * 0.047607))\n                                                              + (float)(result[3] * -0.10229))\n                                                      + (float)(result[4] * 0.97217))\n                                              + (float)(result[5] * 0.13733))\n                                      + (float)(result[6] * -0.059448))\n                              + (float)(result[7] * 0.033203))\n                      + (float)(result[8] * -0.019653))\n              + (float)(result[9] * 0.010986))\n      + (float)(result[10] * 0.001709);\n  v7 = *((_DWORD *)result + 8);\n  v6 = *((_DWORD *)result + 9);\n  v9 = *(_OWORD *)result;\n  v8 = *((_OWORD *)result + 1);\n  *result = a6;\n  *((_DWORD *)result + 9) = v7;\n  *((_DWORD *)result + 10) = v6;\n  *(_OWORD *)(result + 5) = v8;\n  *(_OWORD *)(result + 1) = v9;\n  return result;\n}", "assembly": "; \n; sub_B537C from 0xb537c to 0xb5598 (540 bytes)\n; \n; 1 xrefs:\n; > sub_B4F94 @ 0xb52a8\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\nSTP             D11, D10, [SP,#var_20]!                                ; +0x0, 0xb537c\nSTP             D9, D8, [SP,#0x20+var_10]                              ; +0x4, 0xb5380\nMOV             W8, #0x3AE00000                                        ; +0x8, 0xb5384\nLDP             S24, S25, [X0]                                         ; +0xc, 0xb5388\nMOV             W9, #0x3C340000                                        ; +0x10, 0xb538c\nFMOV            S1, W8                                                 ; +0x14, 0xb5390\nMOV             W8, #0xBCA10000                                        ; +0x18, 0xb5394\nFMOV            S2, W9                                                 ; +0x1c, 0xb5398\nMOV             W9, #0x3D080000                                        ; +0x20, 0xb539c\nFMOV            S3, W8                                                 ; +0x24, 0xb53a0\nADRP            X8, #dword_2EEF0@PAGE                                  ; +0x28, 0xb53a4\nLDP             S26, S27, [X0,#8]                                      ; +0x2c, 0xb53a8\nFMOV            S4, W9                                                 ; +0x30, 0xb53ac\nADRP            X9, #dword_2F038@PAGE                                  ; +0x34, 0xb53b0\nLDR             S5, [X8,#dword_2EEF0@PAGEOFF]                          ; +0x38, 0xb53b4\nFMUL            S11, S0, S1                                            ; +0x3c, 0xb53b8\nADRP            X8, #dword_2F130@PAGE                                  ; +0x40, 0xb53bc\nLDR             S6, [X9,#dword_2F038@PAGEOFF]                          ; +0x44, 0xb53c0\nLDP             S28, S29, [X0,#0x10]                                   ; +0x48, 0xb53c4\nFMADD           S11, S24, S2, S11                                      ; +0x4c, 0xb53c8\nADRP            X9, #dword_2EFFC@PAGE                                  ; +0x50, 0xb53cc\nLDR             S7, [X8,#dword_2F130@PAGEOFF]                          ; +0x54, 0xb53d0\nFMADD           S25, S25, S3, S11                                      ; +0x58, 0xb53d4\nLDR             S16, [X9,#dword_2EFFC@PAGEOFF]                         ; +0x5c, 0xb53d8\nLDP             S30, S31, [X0,#0x18]                                   ; +0x60, 0xb53dc\nFMADD           S25, S26, S4, S25                                      ; +0x64, 0xb53e0\nFMADD           S25, S27, S5, S25                                      ; +0x68, 0xb53e4\nLDP             S8, S9, [X0,#0x20]                                     ; +0x6c, 0xb53e8\nFMADD           S25, S28, S6, S25                                      ; +0x70, 0xb53ec\nMOV             W8, #0x3D430000                                        ; +0x74, 0xb53f0\nFMADD           S25, S29, S7, S25                                      ; +0x78, 0xb53f4\nFMOV            S17, W8                                                ; +0x7c, 0xb53f8\nMOV             W8, #0xBCDA0000                                        ; +0x80, 0xb53fc\nLDR             S10, [X0,#0x28]                                        ; +0x84, 0xb5400\nFMADD           S25, S30, S16, S25                                     ; +0x88, 0xb5404\nFMOV            S18, W8                                                ; +0x8c, 0xb5408\nMOV             W8, #0x3C740000                                        ; +0x90, 0xb540c\nFMADD           S25, S31, S17, S25                                     ; +0x94, 0xb5410\nFMOV            S19, W8                                                ; +0x98, 0xb5414\nMOV             W8, #0xBC080000                                        ; +0x9c, 0xb5418\nFMADD           S25, S8, S18, S25                                      ; +0xa0, 0xb541c\nFMOV            S22, W8                                                ; +0xa4, 0xb5420\nFMADD           S25, S9, S19, S25                                      ; +0xa8, 0xb5424\nFMADD           S25, S10, S22, S25                                     ; +0xac, 0xb5428\nSTR             S25, [X1]                                              ; +0xb0, 0xb542c\nMOV             W8, #0xBCEF0000                                        ; +0xb4, 0xb5430\nLDP             S25, S9, [X0]                                          ; +0xb8, 0xb5434\nFMOV            S20, W8                                                ; +0xbc, 0xb5438\nMOV             W8, #0x3CF00000                                        ; +0xc0, 0xb543c\nFMOV            S21, W8                                                ; +0xc4, 0xb5440\nMOV             W8, #0xBD540000                                        ; +0xc8, 0xb5444\nFMOV            S23, W8                                                ; +0xcc, 0xb5448\nADRP            X8, #dword_2EEF4@PAGE                                  ; +0xd0, 0xb544c\nFMUL            S31, S0, S20                                           ; +0xd4, 0xb5450\nLDR             S24, [X8,#dword_2EEF4@PAGEOFF]                         ; +0xd8, 0xb5454\nFMADD           S25, S25, S21, S31                                     ; +0xdc, 0xb5458\nLDP             S10, S31, [X0,#8]                                      ; +0xe0, 0xb545c\nADRP            X8, #dword_2F064@PAGE                                  ; +0xe4, 0xb5460\nLDR             S11, [X8,#dword_2F064@PAGEOFF]                         ; +0xe8, 0xb5464\nADRP            X8, #dword_2F03C@PAGE                                  ; +0xec, 0xb5468\nFMADD           S25, S9, S23, S25                                      ; +0xf0, 0xb546c\nLDR             S26, [X8,#dword_2F03C@PAGEOFF]                         ; +0xf4, 0xb5470\nFMADD           S25, S10, S24, S25                                     ; +0xf8, 0xb5474\nLDP             S9, S10, [X0,#0x10]                                    ; +0xfc, 0xb5478\nADRP            X8, #dword_2F094@PAGE                                  ; +0x100, 0xb547c\nLDR             S27, [X8,#dword_2F094@PAGEOFF]                         ; +0x104, 0xb5480\nADRP            X8, #dword_2F024@PAGE                                  ; +0x108, 0xb5484\nFMADD           S25, S31, S11, S25                                     ; +0x10c, 0xb5488\nLDR             S28, [X8,#dword_2F024@PAGEOFF]                         ; +0x110, 0xb548c\nFMADD           S25, S9, S26, S25                                      ; +0x114, 0xb5490\nLDP             S31, S9, [X0,#0x18]                                    ; +0x118, 0xb5494\nMOV             W8, #0x3DD00000                                        ; +0x11c, 0xb5498\nFMOV            S29, W8                                                ; +0x120, 0xb549c\nADRP            X8, #dword_2F054@PAGE                                  ; +0x124, 0xb54a0\nFMADD           S25, S10, S27, S25                                     ; +0x128, 0xb54a4\nLDR             S30, [X8,#dword_2F054@PAGEOFF]                         ; +0x12c, 0xb54a8\nADRP            X8, #dword_2F0A4@PAGE                                  ; +0x130, 0xb54ac\nFMADD           S25, S31, S28, S25                                     ; +0x134, 0xb54b0\nLDP             S31, S10, [X0,#0x20]                                   ; +0x138, 0xb54b4\nLDR             S8, [X8,#dword_2F0A4@PAGEOFF]                          ; +0x13c, 0xb54b8\nFMADD           S25, S9, S29, S25                                      ; +0x140, 0xb54bc\nLDR             S9, [X0,#0x28]                                         ; +0x144, 0xb54c0\nFMADD           S25, S31, S30, S25                                     ; +0x148, 0xb54c4\nMOV             W8, #0xBC9B0000                                        ; +0x14c, 0xb54c8\nFMADD           S25, S10, S8, S25                                      ; +0x150, 0xb54cc\nFMOV            S31, W8                                                ; +0x154, 0xb54d0\nFMADD           S25, S9, S31, S25                                      ; +0x158, 0xb54d4\nSTR             S25, [X2]                                              ; +0x15c, 0xb54d8\nLDP             S25, S9, [X0]                                          ; +0x160, 0xb54dc\nFMUL            S31, S0, S31                                           ; +0x164, 0xb54e0\nFMUL            S22, S0, S22                                           ; +0x168, 0xb54e4\nFMADD           S25, S25, S8, S31                                      ; +0x16c, 0xb54e8\nLDP             S31, S8, [X0,#8]                                       ; +0x170, 0xb54ec\nFMADD           S25, S9, S30, S25                                      ; +0x174, 0xb54f0\nLDP             S30, S9, [X0,#0x10]                                    ; +0x178, 0xb54f4\nFMADD           S25, S31, S29, S25                                     ; +0x17c, 0xb54f8\nLDP             S29, S31, [X0,#0x18]                                   ; +0x180, 0xb54fc\nFMADD           S25, S8, S28, S25                                      ; +0x184, 0xb5500\nLDP             S28, S8, [X0,#0x20]                                    ; +0x188, 0xb5504\nFMADD           S25, S30, S27, S25                                     ; +0x18c, 0xb5508\nFMADD           S25, S9, S26, S25                                      ; +0x190, 0xb550c\nLDR             S27, [X0,#0x28]                                        ; +0x194, 0xb5510\nFMADD           S25, S29, S11, S25                                     ; +0x198, 0xb5514\nFMADD           S24, S31, S24, S25                                     ; +0x19c, 0xb5518\nFMADD           S23, S28, S23, S24                                     ; +0x1a0, 0xb551c\nFMADD           S21, S8, S21, S23                                      ; +0x1a4, 0xb5520\nFMADD           S20, S27, S20, S21                                     ; +0x1a8, 0xb5524\nSTR             S20, [X3]                                              ; +0x1ac, 0xb5528\nLDP             S20, S21, [X0]                                         ; +0x1b0, 0xb552c\nLDP             S23, S24, [X0,#8]                                      ; +0x1b4, 0xb5530\nLDP             S25, S26, [X0,#0x10]                                   ; +0x1b8, 0xb5534\nLDP             S27, S28, [X0,#0x18]                                   ; +0x1bc, 0xb5538\nFMADD           S19, S20, S19, S22                                     ; +0x1c0, 0xb553c\nFMADD           S18, S21, S18, S19                                     ; +0x1c4, 0xb5540\nFMADD           S17, S23, S17, S18                                     ; +0x1c8, 0xb5544\nFMADD           S16, S24, S16, S17                                     ; +0x1cc, 0xb5548\nLDP             S29, S30, [X0,#0x20]                                   ; +0x1d0, 0xb554c\nFMADD           S7, S25, S7, S16                                       ; +0x1d4, 0xb5550\nFMADD           S6, S26, S6, S7                                        ; +0x1d8, 0xb5554\nLDR             S31, [X0,#0x28]                                        ; +0x1dc, 0xb5558\nFMADD           S5, S27, S5, S6                                        ; +0x1e0, 0xb555c\nFMADD           S4, S28, S4, S5                                        ; +0x1e4, 0xb5560\nFMADD           S3, S29, S3, S4                                        ; +0x1e8, 0xb5564\nFMADD           S2, S30, S2, S3                                        ; +0x1ec, 0xb5568\nFMADD           S1, S31, S1, S2                                        ; +0x1f0, 0xb556c\nSTR             S1, [X4]                                               ; +0x1f4, 0xb5570\nLDP             W9, W8, [X0,#0x20]                                     ; +0x1f8, 0xb5574\nLDP             Q2, Q1, [X0]                                           ; +0x1fc, 0xb5578\nSTR             S0, [X0]                                               ; +0x200, 0xb557c\nSTP             W9, W8, [X0,#0x24]                                     ; +0x204, 0xb5580\nSTUR            Q1, [X0,#0x14]                                         ; +0x208, 0xb5584\nSTUR            Q2, [X0,#4]                                            ; +0x20c, 0xb5588\nLDP             D9, D8, [SP,#0x20+var_10]                              ; +0x210, 0xb558c\nLDP             D11, D10, [SP+0x20+var_20],#0x20                       ; +0x214, 0xb5590\nRET                                                                    ; +0x218, 0xb5594", "xrefs": ["sub_B4F94 @ 0xb52a8"], "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"}