//
// sub_902E8 from 0x902e8 to 0x9031a (50 bytes)
//
// 3 xrefs:
// > sub_90580 @ 0x905c0
// > ??> @ 0x90964
// > sub_90A80 @ 0x90a86
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:25 +0000
//
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;
}