//
// GameObject::getGlowFrame from 0x454a7c to 0x454af6 (122 bytes)
//
// 35 xrefs:
// > GameObject::addNewSlope01Glow @ 0x454b48
// > GameObject::addNewSlope02Glow @ 0x454c1c
// > GameObject::setupCustomSprites @ 0x64a7a4
// > GameObject::setupCustomSprites @ 0x64b60a
// > GameObject::setupCustomSprites @ 0x64b770
// > GameObject::setupCustomSprites @ 0x64b878
// > GameObject::setupCustomSprites @ 0x64de36
// > GameObject::setupCustomSprites @ 0x64df4e
// > GameObject::setupCustomSprites @ 0x64dfae
// > GameObject::setupCustomSprites @ 0x64e1ba
// > GameObject::setupCustomSprites @ 0x64e206
// > GameObject::setupCustomSprites @ 0x64e252
// > GameObject::setupCustomSprites @ 0x64e2d8
// > GameObject::setupCustomSprites @ 0x64e40e
// > GameObject::setupCustomSprites @ 0x64e450
// > GameObject::setupCustomSprites @ 0x64e492
// > GameObject::setupCustomSprites @ 0x64ea6c
// > GameObject::setupCustomSprites @ 0x64ec2c
// > GameObject::setupCustomSprites @ 0x64ec72
// > GameObject::setupCustomSprites @ 0x64ecba
// > GameObject::setupCustomSprites @ 0x64edc0
// > GameObject::setupCustomSprites @ 0x64ef2c
// > GameObject::setupCustomSprites @ 0x64ef74
// > GameObject::setupCustomSprites @ 0x64f040
// > GameObject::setupCustomSprites @ 0x64f0d6
// > GameObject::setupCustomSprites @ 0x64f272
// > GameObject::setupCustomSprites @ 0x64f340
// > GameObject::setupCustomSprites @ 0x65392e
// > GameObject::setupCustomSprites @ 0x6539f2
// > GameObject::setupCustomSprites @ 0x65416a
// > GameObject::setupCustomSprites @ 0x654470
// > GameObject::setupCustomSprites @ 0x6546f0
// > GameObject::setupCustomSprites @ 0x654858
// > GameObject::setupCustomSprites @ 0x654bb2
// > GameObject::setupCustomSprites @ 0x654c6a
//
// 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:38 +0000
//
int *__fastcall GameObject::getGlowFrame(int *a1, int a2, int a3)
{
const char *v3; // r7
char *v5; // r1
bool v6; // nf
size_t v7; // r0
int v9[3]; // [sp+0h] [bp-14h] BYREF
if ( (*(_BYTE *)a3 & 1) != 0 )
v5 = *(char **)(a3 + 8);
else
v5 = (char *)(a3 + 1);
sub_45316C(v9, v5, "_001.png", "_glow_001.png");
v6 = (v9[0] & 1) != 0;
if ( (v9[0] & 1) == 0 )
v3 = (char *)v9 + 1;
*a1 = 0;
if ( v6 )
v3 = (const char *)v9[2];
a1[1] = 0;
a1[2] = 0;
v7 = strlen(v3);
std::string::__init(a1, v3, v7);
std::string::~string((int)v9);
return a1;
}