//
// GameObject::getGlowFrame from 0x100255bfc to 0x100255c74 (120 bytes)
//
// 35 xrefs:
// > GameObject::addNewSlope01Glow @ 0x100262a3c
// > GameObject::addNewSlope02Glow @ 0x100262c00
// > GameObject::setupCustomSprites @ 0x1002af83c
// > GameObject::setupCustomSprites @ 0x1002afb54
// > GameObject::setupCustomSprites @ 0x1002afdd4
// > GameObject::setupCustomSprites @ 0x1002b1e90
// > GameObject::setupCustomSprites @ 0x1002b3d38
// > GameObject::setupCustomSprites @ 0x1002b3f48
// > GameObject::setupCustomSprites @ 0x1002b4274
// > GameObject::setupCustomSprites @ 0x1002b4310
// > GameObject::setupCustomSprites @ 0x1002b53ec
// > GameObject::setupCustomSprites @ 0x1002b5500
// > GameObject::setupCustomSprites @ 0x1002b5cf4
// > GameObject::setupCustomSprites @ 0x1002b5d74
// > GameObject::setupCustomSprites @ 0x1002b5df8
// > GameObject::setupCustomSprites @ 0x1002b5fac
// > GameObject::setupCustomSprites @ 0x1002b6030
// > GameObject::setupCustomSprites @ 0x1002bccfc
// > GameObject::setupCustomSprites @ 0x1002be1a0
// > GameObject::setupCustomSprites @ 0x1002bf838
// > GameObject::setupCustomSprites @ 0x1002bf8c4
// > GameObject::setupCustomSprites @ 0x1002bf950
// > GameObject::setupCustomSprites @ 0x1002c0e94
// > GameObject::setupCustomSprites @ 0x1002c13cc
// > GameObject::setupCustomSprites @ 0x1002c174c
// > GameObject::setupCustomSprites @ 0x1002c1ab4
// > GameObject::setupCustomSprites @ 0x1002c3514
// > GameObject::setupCustomSprites @ 0x1002c3b3c
// > GameObject::setupCustomSprites @ 0x1002c3bd4
// > GameObject::setupCustomSprites @ 0x1002c3c3c
// > GameObject::setupCustomSprites @ 0x1002c3d80
// > GameObject::setupCustomSprites @ 0x1002c3e24
// > GameObject::setupCustomSprites @ 0x1002c3ec8
// > GameObject::setupCustomSprites @ 0x1002c418c
// > GameObject::setupCustomSprites @ 0x1002c4710
//
// 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
//
void __usercall GameObject::getGlowFrame(char *a1@, _QWORD *a2@)
{
char *v2; // x0
std::string *p_p; // x1
std::string __p; // [xsp+8h] [xbp-28h] BYREF
v2 = a1;
if ( a1[23] < 0 )
v2 = *(char **)a1;
sub_1002550CC(&__p, v2, "_001.png", "_glow_001.png");
if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
p_p = &__p;
else
p_p = (std::string *)__p.__r_.__value_.__r.__words[0];
sub_100009900(a2, (char *)p_p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}