//
// GameObject::addInternalGlowChild from 0x354a24 to 0x354a98 (116 bytes)
//
// 30 xrefs:
// > GameObject::setupCustomSprites @ 0x518520
// > GameObject::setupCustomSprites @ 0x5192b6
// > GameObject::setupCustomSprites @ 0x51b564
// > GameObject::setupCustomSprites @ 0x51b654
// > GameObject::setupCustomSprites @ 0x51b6a0
// > GameObject::setupCustomSprites @ 0x51b7a2
// > GameObject::setupCustomSprites @ 0x51b7e8
// > GameObject::setupCustomSprites @ 0x51b82e
// > GameObject::setupCustomSprites @ 0x51ba20
// > GameObject::setupCustomSprites @ 0x51bb0e
// > GameObject::setupCustomSprites @ 0x51bb50
// > GameObject::setupCustomSprites @ 0x51bb92
// > GameObject::setupCustomSprites @ 0x51c0ac
// > GameObject::setupCustomSprites @ 0x51c246
// > GameObject::setupCustomSprites @ 0x51c284
// > GameObject::setupCustomSprites @ 0x51c2c4
// > GameObject::setupCustomSprites @ 0x51c3aa
// > GameObject::setupCustomSprites @ 0x51c492
// > GameObject::setupCustomSprites @ 0x51c4d2
// > GameObject::setupCustomSprites @ 0x51c612
// > GameObject::setupCustomSprites @ 0x51c698
// > GameObject::setupCustomSprites @ 0x51c7ac
// > GameObject::setupCustomSprites @ 0x51c862
// > GameObject::setupCustomSprites @ 0x52079c
// > GameObject::setupCustomSprites @ 0x520848
// > GameObject::setupCustomSprites @ 0x520f34
// > GameObject::setupCustomSprites @ 0x521642
// > GameObject::setupCustomSprites @ 0x521666
// > GameObject::setupCustomSprites @ 0x521838
// > GameObject::setupCustomSprites @ 0x5218f0
//
// 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::CCSprite *__fastcall GameObject::addInternalGlowChild(int a1, const char **a2, int a3)
{
cocos2d::CCNode *v5; // r1
cocos2d::CCSprite *v7; // r4
void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r9
cocos2d::CCPoint v10; // [sp+4h] [bp-14h] BYREF
cocos2d::CCPoint v11; // [sp+Ch] [bp-Ch] BYREF
v5 = *(cocos2d::CCNode **)(a1 + 640);
if ( v5 )
{
cocos2d::CCNode::convertToNodeSpace(&v10, v5, &stru_AC5CA0);
v7 = cocos2d::CCSprite::createWithSpriteFrameName(*a2);
setPosition = v7->setPosition;
cocos2d::CCPoint::operator+(&v11, &v10, a3);
setPosition(v7, &v11);
(*(void (__fastcall **)(_DWORD, cocos2d::CCSprite *, int))(**(_DWORD **)(a1 + 640) + 224))(
*(_DWORD *)(a1 + 640),
v7,
-1);
return v7;
}
return (cocos2d::CCSprite *)v5;
}