//
// sub_100543274 from 0x100543274 to 0x1005432f4 (128 bytes)
//
// 2 xrefs:
// > sub_10053DEE0 @ 0x10053defc
// > sub_10053E3A4 @ 0x10053e480
//
// 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_100543274(__int64 a1)
{
__int64 v2; // x19
_QWORD *v4; // x0
__int64 v5; // x1
if ( !*(_QWORD *)(a1 + 304) )
return 0;
if ( (*(_BYTE *)(a1 + 68) & 1) != 0 )
return 0;
if ( (sub_10053ED1C(a1) & 0x3000) != 0 )
return 0;
if ( (sub_10053ED1C(a1) & 0x4000) != 0 )
return 0;
v4 = *(_QWORD **)(a1 + 368);
v5 = *(_QWORD *)(a1 + 304);
v2 = 1;
sub_100542EBC(v4, v5, 1);
return v2;
}