//
// GameObject::addInternalGlowChild from 0x76e544 to 0x76e620 (220 bytes)
//
// 31 xrefs:
// > GameObject::setupCustomSprites @ 0xacc5cc
// > GameObject::setupCustomSprites @ 0xacc720
// > GameObject::setupCustomSprites @ 0xacc790
// > GameObject::setupCustomSprites @ 0xacc93c
// > GameObject::setupCustomSprites @ 0xacc9ac
// > GameObject::setupCustomSprites @ 0xacca1c
// > GameObject::setupCustomSprites @ 0xaccb54
// > GameObject::setupCustomSprites @ 0xaccf34
// > GameObject::setupCustomSprites @ 0xacd250
// > GameObject::setupCustomSprites @ 0xacd434
// > GameObject::setupCustomSprites @ 0xacd66c
// > GameObject::setupCustomSprites @ 0xacd7a4
// > GameObject::setupCustomSprites @ 0xacfe14
// > GameObject::setupCustomSprites @ 0xad0fc0
// > GameObject::setupCustomSprites @ 0xad1f20
// > GameObject::setupCustomSprites @ 0xad217c
// > GameObject::setupCustomSprites @ 0xad4d30
// > GameObject::setupCustomSprites @ 0xad5364
// > GameObject::setupCustomSprites @ 0xad53e8
// > GameObject::setupCustomSprites @ 0xad546c
// > GameObject::setupCustomSprites @ 0xad56b4
// > GameObject::setupCustomSprites @ 0xad5740
// > GameObject::setupCustomSprites @ 0xad594c
// > GameObject::setupCustomSprites @ 0xad59c4
// > GameObject::setupCustomSprites @ 0xad5a3c
// > GameObject::setupCustomSprites @ 0xad5b60
// > GameObject::setupCustomSprites @ 0xad948c
// > GameObject::setupCustomSprites @ 0xadbc84
// > GameObject::setupCustomSprites @ 0xadd6c4
// > GameObject::setupCustomSprites @ 0xadd714
// > ??> @ 0x53080
//
// 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 12:53:12 +0000
//
cocos2d::CCNode *__fastcall GameObject::addInternalGlowChild(__int64 a1, unsigned __int8 *a2)
{
cocos2d::CCNode *result; // x0
cocos2d::CCSprite *v5; // x0
const char *v6; // x1
__int64 v7; // x19
void (__fastcall *v8)(__int64, __int64 *); // x23
__int64 v9; // [xsp+48h] [xbp+48h] BYREF
__int64 v10; // [xsp+50h] [xbp+50h] BYREF
result = *(cocos2d::CCNode **)(a1 + 752);
if ( result )
{
cocos2d::CCNode::convertToNodeSpace(&v9, result, (const cocos2d::CCPoint *)&unk_155C668);
v5 = (cocos2d::CCSprite *)(a2 + 1);
v6 = (const char *)*a2;
if ( ((unsigned __int8)v6 & 1) != 0 )
v5 = *((cocos2d::CCSprite **)a2 + 2);
v7 = cocos2d::CCSprite::createWithSpriteFrameName(v5, v6);
v8 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v7 + 184LL);
cocos2d::CCPoint::operator+(&v10, &v9);
v8(v7, &v10);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 752) + 464LL))(
*(_QWORD *)(a1 + 752),
v7,
0xFFFFFFFFLL);
return (cocos2d::CCNode *)v7;
}
return result;
}