//
// 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 (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 10:53:15 +0000
//
__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;
}