//
// sub_100541274 from 0x100541274 to 0x1005412c4 (80 bytes)
//
// 2 xrefs:
// > sub_100526FF8 @ 0x10052766c
// > sub_100527B50 @ 0x100528028
//
// 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
//
bool __fastcall sub_100541274(__int64 *a1, __int64 a2)
{
__int64 v3; // x20
__int64 v4; // x0
v3 = *a1;
if ( *a1 && ((v4 = *(_QWORD *)(v3 + 24)) != 0 || (v4 = sub_1005DE4A4(), (*(_QWORD *)(v3 + 24) = v4) != 0)) )
return (unsigned int)sub_1005DE80C(v4, a2) != 0;
else
return 0;
}