//
// GameObject::addInternalGlowChild from 0x643ee0 to 0x643fb0 (208 bytes)
//
// 31 xrefs:
// > GameObject::setupCustomSprites @ 0x989b7c
// > GameObject::setupCustomSprites @ 0x989e6c
// > GameObject::setupCustomSprites @ 0x989ee0
// > GameObject::setupCustomSprites @ 0x989f54
// > GameObject::setupCustomSprites @ 0x98a090
// > GameObject::setupCustomSprites @ 0x98a1f4
// > GameObject::setupCustomSprites @ 0x98a350
// > GameObject::setupCustomSprites @ 0x98a3c4
// > GameObject::setupCustomSprites @ 0x98a590
// > GameObject::setupCustomSprites @ 0x98a7e0
// > GameObject::setupCustomSprites @ 0x98b304
// > GameObject::setupCustomSprites @ 0x98fd8c
// > GameObject::setupCustomSprites @ 0x98ff50
// > GameObject::setupCustomSprites @ 0x98ffcc
// > GameObject::setupCustomSprites @ 0x990048
// > GameObject::setupCustomSprites @ 0x9901cc
// > GameObject::setupCustomSprites @ 0x99025c
// > GameObject::setupCustomSprites @ 0x990364
// > GameObject::setupCustomSprites @ 0x99515c
// > GameObject::setupCustomSprites @ 0x9955e8
// > GameObject::setupCustomSprites @ 0x996790
// > GameObject::setupCustomSprites @ 0x99795c
// > GameObject::setupCustomSprites @ 0x997ce8
// > GameObject::setupCustomSprites @ 0x997d24
// > GameObject::setupCustomSprites @ 0x9984c8
// > GameObject::setupCustomSprites @ 0x998638
// > GameObject::setupCustomSprites @ 0x9990c8
// > GameObject::setupCustomSprites @ 0x999c7c
// > GameObject::setupCustomSprites @ 0x999cf4
// > GameObject::setupCustomSprites @ 0x999d6c
// > ??> @ 0xaae08
//
// 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
//
cocos2d::CCNode *__fastcall GameObject::addInternalGlowChild(__int64 a1, const char **a2, __int64 a3)
{
cocos2d::CCNode *result; // x0
cocos2d::CCSprite *v6; // x19
void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // x23
_BYTE v9[8]; // [xsp+58h] [xbp+58h] BYREF
__int64 v10; // [xsp+60h] [xbp+60h] BYREF
result = *(cocos2d::CCNode **)(a1 + 752);
if ( result )
{
cocos2d::CCNode::convertToNodeSpace(result, &stru_1242068);
v6 = cocos2d::CCSprite::createWithSpriteFrameName(*a2);
setPosition = v6->setPosition;
cocos2d::CCPoint::operator+(&v10, v9, a3);
setPosition(v6, (const cocos2d::CCPoint *)&v10);
(*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 752) + 448LL))(
*(_QWORD *)(a1 + 752),
v6,
0xFFFFFFFFLL);
return v6;
}
return result;
}