//
// GameObject::addInternalGlowChild from 0x44cb7c to 0x44cbf8 (124 bytes)
//
// 30 xrefs:
// > GameObject::setupCustomSprites @ 0x64a7b8
// > GameObject::setupCustomSprites @ 0x64b620
// > GameObject::setupCustomSprites @ 0x64de4a
// > GameObject::setupCustomSprites @ 0x64df62
// > GameObject::setupCustomSprites @ 0x64dfc2
// > GameObject::setupCustomSprites @ 0x64e1ce
// > GameObject::setupCustomSprites @ 0x64e21a
// > GameObject::setupCustomSprites @ 0x64e266
// > GameObject::setupCustomSprites @ 0x64e2ec
// > GameObject::setupCustomSprites @ 0x64e422
// > GameObject::setupCustomSprites @ 0x64e464
// > GameObject::setupCustomSprites @ 0x64e4a6
// > GameObject::setupCustomSprites @ 0x64ea80
// > GameObject::setupCustomSprites @ 0x64ec40
// > GameObject::setupCustomSprites @ 0x64ec86
// > GameObject::setupCustomSprites @ 0x64ecce
// > GameObject::setupCustomSprites @ 0x64edd4
// > GameObject::setupCustomSprites @ 0x64ef40
// > GameObject::setupCustomSprites @ 0x64ef88
// > GameObject::setupCustomSprites @ 0x64f054
// > GameObject::setupCustomSprites @ 0x64f0ea
// > GameObject::setupCustomSprites @ 0x64f286
// > GameObject::setupCustomSprites @ 0x64f354
// > GameObject::setupCustomSprites @ 0x653942
// > GameObject::setupCustomSprites @ 0x653a06
// > GameObject::setupCustomSprites @ 0x65417e
// > GameObject::setupCustomSprites @ 0x6549b0
// > GameObject::setupCustomSprites @ 0x6549d8
// > GameObject::setupCustomSprites @ 0x654bc8
// > GameObject::setupCustomSprites @ 0x654c80
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:35 +0000
//
const cocos2d::CCPoint *__fastcall GameObject::addInternalGlowChild(int a1, int a2, int a3)
{
const cocos2d::CCPoint *v5; // r1
const char *v7; // r1
cocos2d::CCSprite *v8; // r0
int v9; // r4
void (__fastcall *v10)(int, _BYTE *); // r10
_BYTE v12[8]; // [sp+4h] [bp-14h] BYREF
_BYTE v13[8]; // [sp+Ch] [bp-Ch] BYREF
v5 = *(const cocos2d::CCPoint **)(a1 + 640);
if ( v5 )
{
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, v5);
if ( (*(_BYTE *)a2 & 1) != 0 )
v8 = *(cocos2d::CCSprite **)(a2 + 8);
else
v8 = (cocos2d::CCSprite *)(a2 + 1);
v9 = cocos2d::CCSprite::createWithSpriteFrameName(v8, v7);
v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 92);
cocos2d::CCPoint::operator+(v13, v12, a3);
v10(v9, v13);
(*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 640) + 232))(*(_DWORD *)(a1 + 640), v9, -1);
return (const cocos2d::CCPoint *)v9;
}
return v5;
}