//
// sub_10043DD48 from 0x10043dd48 to 0x10043dda0 (88 bytes)
//
// 13 xrefs:
// > sub_10043CE30 @ 0x10043cf8c
// > sub_1004566D4 @ 0x100456768
// > sub_100456DB0 @ 0x100456f28
// > sub_10045D598 @ 0x10045d614
// > sub_1004661D0 @ 0x1004686cc
// > sub_1004661D0 @ 0x100468748
// > sub_10046BCA0 @ 0x10046c47c
// > sub_10046DFAC @ 0x10046ed58
// > sub_10047CDD0 @ 0x10047dd58
// > sub_10048319C @ 0x1004843cc
// > sub_100488E04 @ 0x1004891c0
// > sub_1004D2F58 @ 0x1004d2fd8
// > sub_1004D3474 @ 0x1004d3648
//
// 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_10043DD48(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int a5)
{
__int64 result; // x0
if ( !a4 )
return 31;
if ( a5 )
*(_QWORD *)a4 = 0;
if ( !a2 )
return 31;
result = sub_1004BC664(*(_QWORD *)(a1 + 69128), a2, a3, a4);
if ( !(_DWORD)result )
*(_QWORD *)(*(_QWORD *)a4 + 168LL) = a1;
return result;
}