//
// TextGameObject::create from 0x45b30c to 0x45b378 (108 bytes)
//
// 2 xrefs:
// > GameObject::createWithKey @ 0x45bb78
// > EditorUI::getCreateBtn @ 0x6f80f0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:48 +0000
//
GameObject *__fastcall TextGameObject::create(TextGameObject *this, cocos2d::CCTexture2D *a2)
{
GameObject *v3; // r4
int v4; // r3
GameObject *v5; // r0
v3 = (GameObject *)operator new(0x4A0u);
GameObject::GameObject(v3);
*(_DWORD *)v3 = &off_C942E0;
*((_DWORD *)v3 + 66) = &off_C94678;
*((_DWORD *)v3 + 70) = &off_C946B8;
*((_DWORD *)v3 + 292) = 0;
*((_DWORD *)v3 + 293) = 0;
*((_DWORD *)v3 + 294) = 0;
*((_DWORD *)v3 + 295) = 0;
if ( TextGameObject::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(GameObject *))(v4 + 8))(v5);
}
return v3;
}