{"type": "func", "start": 842240, "end": 842296, "name": "sub_CDA00", "pseudocode": "// \n// sub_CDA00 from 0xcda00 to 0xcda38 (56 bytes)\n// \n// 1 xrefs:\n// > sub_CD714 @ 0xcd7d0\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_CDA00(__int64 a1, float result, float a3, float a4)\n{\n  __int64 i; // x8\n  __int64 v5; // x9\n  int v6; // w10\n\n  for ( i = 0; i != 28; i += 4 )\n  {\n    v5 = a1 + i;\n    v6 = (int)(float)(result * a4);\n    *(_DWORD *)(v5 + 1356) = v6;\n    *(float *)(v5 + 1328) = result;\n    result = result * a3;\n    *(_DWORD *)(v5 + 1392) = v6 - 1;\n  }\n  return result;\n}", "assembly": "; \n; sub_CDA00 from 0xcda00 to 0xcda38 (56 bytes)\n; \n; 1 xrefs:\n; > sub_CD714 @ 0xcd7d0\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\nMOV             X8, XZR                                                ; +0x0, 0xcda00\nCMP             X8, #0x1C                                              ; +0x4, 0xcda04\nB.EQ            locret_CDA34                                           ; +0x8, 0xcda08\nFMUL            S3, S0, S2                                             ; +0xc, 0xcda0c\nADD             X9, X0, X8                                             ; +0x10, 0xcda10\nFCVTZS          W10, S3                                                ; +0x14, 0xcda14\nSTR             W10, [X9,#0x54C]                                       ; +0x18, 0xcda18\nSUB             W10, W10, #1                                           ; +0x1c, 0xcda1c\nSTR             S0, [X9,#0x530]                                        ; +0x20, 0xcda20\nFMUL            S0, S0, S1                                             ; +0x24, 0xcda24\nSTR             W10, [X9,#0x570]                                       ; +0x28, 0xcda28\nADD             X8, X8, #4                                             ; +0x2c, 0xcda2c\nB               loc_CDA04                                              ; +0x30, 0xcda30\nRET                                                                    ; +0x34, 0xcda34", "xrefs": ["sub_CD714 @ 0xcd7d0"], "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"}