//
// GameObject::createGlow from 0x14028b8f0 to 0x14028b9c3 (211 bytes)
//
// 3 xrefs:
// > GameObject::addGlow @ 0x14028b420
// > GameObject::addEmptyGlow @ 0x14028b8cf
// > ??> @ 0x14091d27c
//
// This function is hookable on this platform (idp: pc, 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 11:29:04 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall GameObject::createGlow(_QWORD *a1, const char *a2)
{
cocos2d::CCObject *v4; // rcx
const char *v5; // rcx
cocos2d::CCObject *v6; // rax
__int64 *v7; // rdi
__int64 v8; // rbx
__int64 v9; // rax
__int64 v10; // rdx
v4 = (cocos2d::CCObject *)a1[94];
if ( v4 )
{
cocos2d::CCObject::release(v4);
(*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[94] + 528LL))(a1[94]);
a1[94] = 0;
}
v5 = a2;
if ( *((_QWORD *)a2 + 3) > 0xFu )
v5 = *(const char **)a2;
v6 = cocos2d::CCSprite::createWithSpriteFrameName(v5);
a1[94] = v6;
cocos2d::CCObject::retain(v6);
v7 = (__int64 *)a1[94];
v8 = *v7;
v9 = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 200LL))(a1);
(*(void (__fastcall **)(__int64 *, __int64))(v8 + 184))(v7, v9);
LOBYTE(v10) = -1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1[94] + 320LL) + 40LL))(a1[94] + 320LL, v10);
sub_14003D310((__int64)a2);
}