//
// cocos2d::CCDictMaker::textHandler from 0x5df000 to 0x5df096 (150 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 __fastcall cocos2d::CCDictMaker::textHandler(cocos2d::CCDictMaker *this, void *a2, char *a3, int a4)
{
cocos2d::CCString *v6; // r6
int v7; // r3
char *v8; // r0
char *CString; // r0
void *v11; // [sp+4h] [bp-4h] BYREF
_DWORD v12[2]; // [sp+8h] [bp+0h] BYREF
v11 = a2;
v12[0] = a3;
v12[1] = a4;
if ( *((_DWORD *)this + 17) )
{
sub_776584((int)v12, a3);
((void (__fastcall *)(void **, _DWORD *, _DWORD, int, cocos2d::CCDictMaker *))sub_776110)(&v11, v12, 0, a4, this);
v6 = (cocos2d::CCString *)operator new(0x38u);
cocos2d::CCString::CCString(v6);
sub_774008(&v11);
sub_774008(v12);
v7 = *((_DWORD *)this + 17);
if ( v7 == 1 )
{
CString = (char *)cocos2d::CCString::getCString(v6);
sub_7753D4((int)this + 60, CString);
}
else if ( v7 )
{
if ( (unsigned int)(v7 - 3) <= 2 )
{
v8 = (char *)cocos2d::CCString::getCString(v6);
sub_774544((int)this + 64, v8);
}
}
cocos2d::CCObject::release(v6);
}
}