//
// sub_100541198 from 0x100541198 to 0x1005411e0 (72 bytes)
//
// 2 xrefs:
// > sub_100526FF8 @ 0x100527664
// > sub_100527B50 @ 0x100528018
//
// 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_100541198(__int64 *a1, __int64 a2)
{
__int64 v3; // x20
void *v4; // x0
v3 = *a1;
if ( !*a1 )
return 0;
v4 = *(void **)(v3 + 24);
if ( v4 )
sub_1005DE9D0(v4);
*(_QWORD *)(v3 + 24) = a2;
return 1;
}