//
// TextGameObject::customObjectSetup from 0x3631b0 to 0x36324a (154 bytes)
//
// 0 xrefs:
//
// 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
//
void TextGameObject::customObjectSetup(TextGameObject *a1, std::vector *a2, std::vector *a3)
{
void (__fastcall *updateTextKerning)(TextGameObject *__hidden, int); // r8
int v7; // r1
std::string v8; // [sp+4h] [bp-Ch] BYREF
std::vector *v9; // [sp+8h] [bp-8h] BYREF
v8.m_data.m_data = (stl::StringData::Internal *)a2;
v9 = a3;
updateTextKerning = a1->updateTextKerning;
v7 = *((_DWORD *)a3->m_start + 488);
if ( v7 )
v7 = atoi((const char *)a2->m_start[488].m_data.m_data);
updateTextKerning(a1, v7);
if ( *((_DWORD *)a3->m_start + 31) )
sub_775C20(&v8, &a2->m_start[31]);
else
sub_776584((int)&v8, (char *)&unk_939830);
LevelTools::base64DecodeString((cocos2d::ZipUtils *)&v9, &v8);
TextGameObject::updateTextObject((int *)a1, (const char **)&v9, 0);
sub_774008(&v9);
sub_774008(&v8);
}