//
// GameObject::addEmptyGlow from 0x100675f70 to 0x100676048 (216 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0x10043ac9e
// > GameObject::setupCustomSprites @ 0x10043afdc
//
// 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::addEmptyGlow(_QWORD *a1, double a2)
{
_DWORD *v3; // rdi
char *v4; // rax
__int64 v5; // r14
__int64 v6; // rax
__int64 result; // rax
char v8[15]; // [rsp+9h] [rbp-27h] BYREF
strcpy(v8, "emptyGlow.png");
v3 = (_DWORD *)a1[94];
if ( v3 )
{
cocos2d::CCObject::release(v3);
(*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[94] + 536LL))(a1[94]);
a1[94] = 0;
}
v4 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v8, a2);
a1[94] = v4;
cocos2d::CCObject::retain((__int64)v4);
v5 = a1[94];
v6 = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 192LL))(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, v6);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[94] + 912LL))(a1[94], 255);
result = a1[94];
if ( result )
*(_BYTE *)(result + 559) = 1;
return result;
}