//
// GameObject::createGlow from 0x100675ed0 to 0x100675f6d (157 bytes)
//
// 0 xrefs:
//
// 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 12:35:03 +0000
//
__int64 __fastcall GameObject::createGlow(_QWORD *a1, __int64 a2, double a3)
{
_DWORD *v4; // rdi
__int64 v5; // r14
char *v6; // rax
__int64 v7; // r14
__int64 v8; // rax
v4 = (_DWORD *)a1[94];
if ( v4 )
{
cocos2d::CCObject::release(v4);
(*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[94] + 536LL))(a1[94]);
a1[94] = 0;
}
if ( (*(_BYTE *)a2 & 1) != 0 )
v5 = *(_QWORD *)(a2 + 16);
else
v5 = a2 + 1;
v6 = cocos2d::CCSprite::createWithSpriteFrameName(v5, a3);
a1[94] = v6;
cocos2d::CCObject::retain((__int64)v6);
v7 = a1[94];
v8 = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 192LL))(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 184LL))(v7, v8);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[94] + 912LL))(a1[94], 255);
}