//
// sub_902E8 from 0x902e8 to 0x9031a (50 bytes)
//
// 3 xrefs:
// > sub_90580 @ 0x905c0
// > ??> @ 0x90964
// > sub_90A80 @ 0x90a86
//
// 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
//
int __fastcall sub_902E8(int a1)
{
unsigned int v2; // r0
void *v3; // r0
v2 = *(_DWORD *)(a1 + 420);
if ( !v2 )
{
sub_9031C(a1);
v2 = *(_DWORD *)(a1 + 420);
}
*(_DWORD *)(a1 + 436) = 0;
*(_QWORD *)(a1 + 424) = v2;
v3 = *(void **)(a1 + 404);
if ( v3 )
memset(v3, 0, *(_DWORD *)(a1 + 412));
return 0;
}