//
// pugi::as_utf8 from 0xddbea0 to 0xddbf00 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x85858
//
// 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 13:09:06 +0000
//
_QWORD *__usercall pugi::as_utf8@(__int64 a1@, _QWORD *a2@)
{
if ( (*(_BYTE *)a1 & 1) != 0 )
sub_DDBBF0(*(_QWORD *)(a1 + 16), *(_QWORD *)(a1 + 8), a2);
else
sub_DDBBF0(a1 + 4, *(_BYTE *)a1 >> 1, a2);
return a2;
}