//
// llvm::ConvertCodePointToUTF8 from 0xd8d740 to 0xd8d7c8 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b008
//
// 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:08:17 +0000
//
__int64 __fastcall llvm::ConvertCodePointToUTF8(llvm *this, __int64 *a2, char **a3)
{
int v4; // w0
unsigned int v5; // w1
int v7; // [xsp+2Ch] [xbp+2Ch] BYREF
_BYTE v8[8]; // [xsp+30h] [xbp+30h] BYREF
unsigned int *v9; // [xsp+38h] [xbp+38h] BYREF
__int64 v10; // [xsp+40h] [xbp+40h] BYREF
v9 = (unsigned int *)&v7;
v7 = (int)this;
v10 = *a2;
v4 = ConvertUTF32toUTF8(&v9, (unsigned __int64)v8, &v10, v10 + 4, 0);
v5 = 0;
if ( !v4 )
{
v5 = 1;
*a2 = v10;
}
return v5;
}