{"type": "func", "start": 698388, "end": 698572, "name": "sub_AA814", "pseudocode": "// \n// sub_AA814 from 0xaa814 to 0xaa8cc (184 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x118ad8\n// > <???> @ 0x118b48\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\n__int64 __fastcall sub_AA814(\n        __int64 result,\n        __int64 a2,\n        int a3,\n        __int64 a4,\n        long double a5,\n        __int64 a6,\n        __int64 a7,\n        int a8)\n{\n  float *v11; // x21\n  int i; // w8\n  __int64 v13; // x10\n  float *v14; // x11\n  float v15; // s6\n  float v16; // s16\n  float v17; // s0\n\n  v11 = (float *)result;\n  if ( a8 )\n    result = sub_AADEC(a5);\n  for ( i = 0; i < a3; ++i )\n  {\n    v13 = 0;\n    v14 = (float *)(a4 + 16);\n    while ( v13 != 32 )\n    {\n      v15 = v14[2];\n      v16 = v14[3];\n      v17 = (float)((float)((float)((float)((float)(*(float *)(a2 + v13) + (float)(*(v14 - 4) * *v11))\n                                          + (float)(*(v14 - 3) * v11[1]))\n                                  + (float)(*(v14 - 2) * v11[2]))\n                          + (float)(*(v14 - 1) * v11[3]))\n                  + (float)(*v14 * v11[4]))\n          + (float)(v14[1] * v11[5]);\n      v14 += 32;\n      *(float *)(a2 + v13) = (float)(v17 + (float)(v15 * v11[6])) + (float)(v16 * v11[7]);\n      v13 += 4;\n    }\n    v11 += 8;\n    a2 += 32;\n  }\n  return result;\n}", "assembly": "; \n; sub_AA814 from 0xaa814 to 0xaa8cc (184 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x118ad8\n; > <???> @ 0x118b48\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0xaa814\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0xaa818\nMOV             X22, X3                                                ; +0x8, 0xaa81c\nMOV             W19, W2                                                ; +0xc, 0xaa820\nMOV             X20, X1                                                ; +0x10, 0xaa824\nMOV             X21, X0                                                ; +0x14, 0xaa828\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x18, 0xaa82c\nADD             X29, SP, #0x20                                         ; +0x1c, 0xaa830\nCBZ             W6, loc_AA840                                          ; +0x20, 0xaa834\nMUL             W8, W5, W19                                            ; +0x24, 0xaa838\nBL              sub_AADEC                                              ; +0x28, 0xaa83c\nMOV             W8, WZR                                                ; +0x2c, 0xaa840\nADD             X9, X22, #0x10                                         ; +0x30, 0xaa844\nCMP             W8, W19                                                ; +0x34, 0xaa848\nB.GE            loc_AA8C4                                              ; +0x38, 0xaa84c\nMOV             X10, XZR                                               ; +0x3c, 0xaa850\nMOV             X11, X9                                                ; +0x40, 0xaa854\nCMP             X10, #0x20 ; ' '                                       ; +0x44, 0xaa858\nB.EQ            loc_AA8B4                                              ; +0x48, 0xaa85c\nLDR             S0, [X20,X10]                                          ; +0x4c, 0xaa860\nLDP             S1, S2, [X21]                                          ; +0x50, 0xaa864\nLDP             S3, S4, [X11,#-0x10]                                   ; +0x54, 0xaa868\nLDP             S5, S6, [X21,#8]                                       ; +0x58, 0xaa86c\nLDP             S7, S16, [X11,#-8]                                     ; +0x5c, 0xaa870\nFMADD           S0, S3, S1, S0                                         ; +0x60, 0xaa874\nLDP             S1, S3, [X21,#0x10]                                    ; +0x64, 0xaa878\nFMADD           S0, S4, S2, S0                                         ; +0x68, 0xaa87c\nLDP             S2, S4, [X11]                                          ; +0x6c, 0xaa880\nFMADD           S0, S7, S5, S0                                         ; +0x70, 0xaa884\nLDP             S5, S7, [X21,#0x18]                                    ; +0x74, 0xaa888\nFMADD           S0, S16, S6, S0                                        ; +0x78, 0xaa88c\nLDP             S6, S16, [X11,#8]                                      ; +0x7c, 0xaa890\nFMADD           S0, S2, S1, S0                                         ; +0x80, 0xaa894\nFMADD           S0, S4, S3, S0                                         ; +0x84, 0xaa898\nADD             X11, X11, #0x80                                        ; +0x88, 0xaa89c\nFMADD           S0, S6, S5, S0                                         ; +0x8c, 0xaa8a0\nFMADD           S0, S16, S7, S0                                        ; +0x90, 0xaa8a4\nSTR             S0, [X20,X10]                                          ; +0x94, 0xaa8a8\nADD             X10, X10, #4                                           ; +0x98, 0xaa8ac\nB               loc_AA858                                              ; +0x9c, 0xaa8b0\nADD             X21, X21, #0x20 ; ' '                                  ; +0xa0, 0xaa8b4\nADD             W8, W8, #1                                             ; +0xa4, 0xaa8b8\nADD             X20, X20, X10                                          ; +0xa8, 0xaa8bc\nB               loc_AA848                                              ; +0xac, 0xaa8c0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb0, 0xaa8c4\nB               loc_AADC8                                              ; +0xb4, 0xaa8c8", "xrefs": ["<???> @ 0x118ad8", "<???> @ 0x118b48"], "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"}