//
// sub_10003E398 from 0x10003e398 to 0x10003e44c (180 bytes)
//
// 1 xrefs:
// > GJShopLayer::init @ 0x1001c9948
//
// 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 10:57:35 +0000
//
_QWORD *__fastcall sub_10003E398(__int64 a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // x19
v6 = operator new(0x220u);
cocos2d::CCLabelBMFont::CCLabelBMFont();
*v6 = off_1008B8D48;
v6[40] = off_1008B91B0;
v6[45] = off_1008B91E0;
v6[46] = off_1008B9200;
*(_QWORD *)((char *)v6 + 516) = 0;
*(_QWORD *)((char *)v6 + 521) = 0;
*((_DWORD *)v6 + 133) = 10;
*((_BYTE *)v6 + 536) = 0;
*((_DWORD *)v6 + 135) = 0;
if ( (unsigned int)sub_10003E460(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);
return nullptr;
}
return v6;
}