//
// GameObject::addInternalGlowChild from 0x10025aaac to 0x10025ab58 (172 bytes)
//
// 30 xrefs:
// > GameObject::setupCustomSprites @ 0x1002af85c
// > GameObject::setupCustomSprites @ 0x1002afdf4
// > GameObject::setupCustomSprites @ 0x1002b3d5c
// > GameObject::setupCustomSprites @ 0x1002b3f6c
// > GameObject::setupCustomSprites @ 0x1002b4298
// > GameObject::setupCustomSprites @ 0x1002b4334
// > GameObject::setupCustomSprites @ 0x1002b5d18
// > GameObject::setupCustomSprites @ 0x1002b5d98
// > GameObject::setupCustomSprites @ 0x1002b5e1c
// > GameObject::setupCustomSprites @ 0x1002b5fd0
// > GameObject::setupCustomSprites @ 0x1002b6054
// > GameObject::setupCustomSprites @ 0x1002bcd20
// > GameObject::setupCustomSprites @ 0x1002be1c0
// > GameObject::setupCustomSprites @ 0x1002bf85c
// > GameObject::setupCustomSprites @ 0x1002bf8e8
// > GameObject::setupCustomSprites @ 0x1002bf974
// > GameObject::setupCustomSprites @ 0x1002c0eb8
// > GameObject::setupCustomSprites @ 0x1002c13f0
// > GameObject::setupCustomSprites @ 0x1002c176c
// > GameObject::setupCustomSprites @ 0x1002c1ad8
// > GameObject::setupCustomSprites @ 0x1002c3538
// > GameObject::setupCustomSprites @ 0x1002c3b60
// > GameObject::setupCustomSprites @ 0x1002c3bf8
// > GameObject::setupCustomSprites @ 0x1002c3c5c
// > GameObject::setupCustomSprites @ 0x1002c3da4
// > GameObject::setupCustomSprites @ 0x1002c3e48
// > GameObject::setupCustomSprites @ 0x1002c3eec
// > GameObject::setupCustomSprites @ 0x1002c45a8
// > GameObject::setupCustomSprites @ 0x1002c4604
// > GameObject::setupCustomSprites @ 0x1002c4734
//
// 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(__int64 a1, const char *a2, float32x2_t *a3)
{
cocos2d::CCNode *v4; // x0
cocos2d::CCSprite *v7; // x21
double v8; // d0
float32x2_t v10; // [xsp+0h] [xbp-30h] BYREF
float32x2_t v11; // [xsp+8h] [xbp-28h] BYREF
v4 = *(cocos2d::CCNode **)(a1 + 752);
if ( !v4 )
return nullptr;
cocos2d::CCNode::convertToNodeSpace(v4, &stru_10086D4E0);
if ( a2[23] < 0 )
a2 = *(const char **)a2;
v7 = cocos2d::CCSprite::createWithSpriteFrameName(a2);
*(float32x2_t *)&v8 = sub_1000229DC(&v11, a3, &v10);
((void (__fastcall *)(cocos2d::CCSprite *, float32x2_t *, double))v7->setPosition)(v7, &v10, v8);
(*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 752) + 448LL))(
*(_QWORD *)(a1 + 752),
v7,
0xFFFFFFFFLL);
return v7;
}