//
// sub_CDA38 from 0xcda38 to 0xcda78 (64 bytes)
//
// 1 xrefs:
// > sub_CD714 @ 0xcd7dc
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:14:49 +0000
//
__int64 __fastcall sub_CDA38(__int64 result, float a2)
{
__int64 v2; // x8
__int64 v3; // x9
float v4; // s1
float v5; // s1
v2 = 0;
*(_QWORD *)(result + 1440) = 0x3BFC50483BC154CALL;
while ( v2 != 8 )
{
v3 = result + v2;
v4 = *(float *)(result + v2 + 1440);
v2 += 4;
v5 = v4 * a2;
*(_DWORD *)(v3 + 1448) = (int)v5;
*(_DWORD *)(v3 + 1472) = (int)v5 - 1;
}
return result;
}