//
// sub_10046CF5C from 0x10046cf5c to 0x10046cfc4 (104 bytes)
//
// 1 xrefs:
// > sub_10046DFAC @ 0x10046edf4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10046CF5C(__int64 a1)
{
*(_DWORD *)(*(_QWORD *)(a1 + 8) + 24LL) = 0;
sub_1004B2C44(a1, 0);
for ( ; !*(_BYTE *)(a1 + 3049); *(_DWORD *)(*(_QWORD *)(a1 + 8) + 24LL) += *(_DWORD *)(a1 + 2132) )
sub_10046CFC4(a1, 0);
sub_1004B2E70(a1);
return 0;
}