{"type": "func", "start": 657536, "end": 657664, "name": "sub_A0880", "pseudocode": "// \n// sub_A0880 from 0xa0880 to 0xa0900 (128 bytes)\n// \n// 4 xrefs:\n// > sub_9F7C0 @ 0x9fc70\n// > sub_A086C @ 0xa0878\n// > sub_A0904 @ 0xa0910\n// > sub_A0916 @ 0xa0922\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_A0880(float *result, int a2, int a3, unsigned int *a4, _QWORD *a5, int a6)\n{\n  int v6; // r6\n  int v7; // r9\n  float v8; // s4\n  unsigned int v9; // r4\n  int v10; // r5\n  float *v11; // r4\n\n  while ( a2 )\n  {\n    v6 = 0;\n    v7 = a3;\n    v8 = (float)*a4 * 2.3283e-10;\n    while ( v6 < a6 )\n    {\n      v9 = a4[1];\n      v10 = v6 + v9 * a6;\n      ++v6;\n      v11 = (float *)(v7 + 4 * a6 * (v9 + 1));\n      v7 += 4;\n      *result++ = (float)(*(float *)(a3 + 4 * v10) * (float)(1.0 - v8)) + (float)(*v11 * v8);\n    }\n    --a2;\n    *(_QWORD *)a4 += *a5;\n  }\n  return result;\n}", "assembly": "; \n; sub_A0880 from 0xa0880 to 0xa0900 (128 bytes)\n; \n; 4 xrefs:\n; > sub_9F7C0 @ 0x9fc70\n; > sub_A086C @ 0xa0878\n; > sub_A0904 @ 0xa0910\n; > sub_A0916 @ 0xa0922\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0xa0880\nADD             R7, SP, #0xC                                           ; +0x2, 0xa0882\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0xa0884\nVMOV.F32        S2, #1.0                                               ; +0x8, 0xa0888\nLDR.W           R8, [R7,#-0x18+arg_4]                                  ; +0xc, 0xa088c\nLDR.W           R12, [R7,#-0x18+arg_0]                                 ; +0x10, 0xa0890\nVLDR            S0, =2.3283e-10                                        ; +0x14, 0xa0894\nMOV.W           LR, R8,LSL#2                                           ; +0x18, 0xa0898\nCBZ             R1, loc_A08FA                                          ; +0x1c, 0xa089c\nVLDR            S4, [R3]                                               ; +0x1e, 0xa089e\nMOVS            R6, #0                                                 ; +0x22, 0xa08a2\nMOV             R9, R2                                                 ; +0x24, 0xa08a4\nVCVT.F32.U32    S4, S4                                                 ; +0x26, 0xa08a6\nVMUL.F32        S4, S4, S0                                             ; +0x2a, 0xa08aa\nVSUB.F32        S6, S2, S4                                             ; +0x2e, 0xa08ae\nCMP             R6, R8                                                 ; +0x32, 0xa08b2\nBGE             loc_A08E4                                              ; +0x34, 0xa08b4\nLDR             R4, [R3,#4]                                            ; +0x36, 0xa08b6\nMLA             R5, R4, R8, R6                                         ; +0x38, 0xa08b8\nADDS            R4, #1                                                 ; +0x3c, 0xa08bc\nADDS            R6, #1                                                 ; +0x3e, 0xa08be\nMLA             R4, LR, R4, R9                                         ; +0x40, 0xa08c0\nADD.W           R9, R9, #4                                             ; +0x44, 0xa08c4\nADD.W           R5, R2, R5,LSL#2                                       ; +0x48, 0xa08c8\nVLDR            S8, [R5]                                               ; +0x4c, 0xa08cc\nVLDR            S10, [R4]                                              ; +0x50, 0xa08d0\nVMUL.F32        S8, S8, S6                                             ; +0x54, 0xa08d4\nVMLA.F32        S8, S10, S4                                            ; +0x58, 0xa08d8\nVSTR            S8, [R0]                                               ; +0x5c, 0xa08dc\nADDS            R0, #4                                                 ; +0x60, 0xa08e0\nB               loc_A08B2                                              ; +0x62, 0xa08e2\nLDRD.W          R4, R9, [R12]                                          ; +0x64, 0xa08e4\nSUBS            R1, #1                                                 ; +0x68, 0xa08e8\nLDRD.W          R6, R5, [R3]                                           ; +0x6a, 0xa08ea\nADDS            R4, R4, R6                                             ; +0x6e, 0xa08ee\nADC.W           R5, R5, R9                                             ; +0x70, 0xa08f0\nSTRD.W          R4, R5, [R3]                                           ; +0x74, 0xa08f4\nB               loc_A089C                                              ; +0x78, 0xa08f8\nPOP.W           {R8,R9,R11}                                            ; +0x7a, 0xa08fa\nPOP             {R4-R7,PC}                                             ; +0x7e, 0xa08fe", "xrefs": ["sub_9F7C0 @ 0x9fc70", "sub_A086C @ 0xa0878", "sub_A0904 @ 0xa0910", "sub_A0916 @ 0xa0922"], "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"}