//
// sub_18004B940 from 0x18004b940 to 0x18004b9a1 (97 bytes)
//
// 5 xrefs:
// > sub_180050A30 @ 0x180050a6e
// > sub_180051B90 @ 0x180051c37
// > sub_180051B90 @ 0x180051e23
// > sub_180051B90 @ 0x180051f88
// > ??> @ 0x1801f8550
//
// 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_18004B940(__int64 a1, __int64 *a2)
{
__int64 v4; // rdx
__int64 v5; // rdx
__int64 v6; // rdx
if ( a2 )
{
v4 = *a2;
if ( v4 )
sub_180033C90(a1, v4);
v5 = a2[3];
if ( v5 )
sub_180033C90(a1, v5);
v6 = a2[4];
if ( v6 )
sub_180033C90(a1, v6);
memset(a2, 0, 0x178u);
}
return 0;
}