//
// sub_B47B4 from 0xb47b4 to 0xb4840 (140 bytes)
//
// 2 xrefs:
// > sub_B468C @ 0xb4778
// > sub_B4F94 @ 0xb4ff8
//
// 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
//
void __fastcall sub_B47B4(__int64 a1)
{
__int64 v2; // x8
_OWORD *v3; // x9
__int64 v4; // x10
sub_B4648(a1 + 544);
*(_DWORD *)(a1 + 3512) = -1029701632;
v2 = 0;
*(_QWORD *)(a1 + 3500) = 0;
v3 = (_OWORD *)(a1 + 1968);
*(_OWORD *)(a1 + 3376) = 0u;
*(_OWORD *)(a1 + 3392) = 0u;
*(_OWORD *)(a1 + 3408) = 0u;
*(_OWORD *)(a1 + 3424) = 0u;
*(_OWORD *)(a1 + 3440) = 0u;
*(_OWORD *)(a1 + 3456) = 0u;
*(_OWORD *)(a1 + 3472) = 0u;
*(_QWORD *)(a1 + 3488) = 0;
while ( v2 != 1024 )
{
v4 = a1 + v2;
v2 += 32;
*(_QWORD *)(v4 + 944) = 0;
*(_QWORD *)(v4 + 960) = 0;
*(_OWORD *)((char *)v3 + 28) = 0u;
*v3 = 0u;
v3[1] = 0u;
v3 = (_OWORD *)((char *)v3 + 44);
}
}