//
// sub_10020CA2C from 0x10020ca2c to 0x10020ca80 (84 bytes)
//
// 1 xrefs:
// > LevelSettingsLayer::init @ 0x10020ae84
//
// 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 11:01:00 +0000
//
__int64 __fastcall sub_10020CA2C(__int64 a1, __int64 a2)
{
__int64 v3; // x20
double v4; // d0
int v5; // w0
double v6; // d1
_WORD *v7; // x0
_QWORD *v8; // x0
v3 = *(_QWORD *)(*(_QWORD *)(a1 + 816) + 320LL);
v4 = (*(double (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v7 = sub_10000F52C(v3, v5, v4, v6);
v8 = (_QWORD *)sub_10049E428(v7);
v8[140] = a1 + 664;
return (*(__int64 (__fastcall **)(_QWORD *))(*v8 + 1312LL))(v8);
}