//
// pugi::as_utf8 from 0xddbe54 to 0xddbea0 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x43810
//
// 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@(pugi *this@, _QWORD *a2@)
{
pugi *v4; // x1
int v5; // t1
__int64 v6; // x1
if ( *(_DWORD *)this )
{
v4 = this;
do
{
v5 = *((_DWORD *)v4 + 1);
v4 = (pugi *)((char *)v4 + 4);
}
while ( v5 );
v6 = (v4 - this) >> 2;
}
else
{
v6 = 0;
}
sub_DDBBF0((unsigned __int64)this, v6, a2);
return a2;
}