//
// sub_1000D0934 from 0x1000d0934 to 0x1000d09cc (152 bytes)
//
// 1 xrefs:
// > PlayLayer::destroyPlayer @ 0x100147d48
//
// This function is hookable on this platform (idp: arm, 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:58:53 +0000
//
std::string *__fastcall sub_1000D0934(__int64 a1, int a2, int a3, int a4)
{
int v7; // w0
int v8; // w0
std::string *result; // x0
int v10; // w0
*(_DWORD *)(a1 + 1536) = 2;
if ( a4 )
{
sub_1000D02BC(a1, (std::string *)(a1 + 1568), a2, a3);
v8 = (unsigned int)sub_1000D070C(v7, (std::string *)(a1 + 1616), a2, 0);
return sub_1000D070C(v8, (std::string *)(a1 + 1616), a3, 0);
}
else
{
sub_1000CFCE0(a1, (std::string *)(a1 + 1544), a3);
result = sub_1000D070C(v10, (std::string *)(a1 + 1592), a3, 1);
*(_BYTE *)(a1 + 1744) = 1;
}
return result;
}