//
// sub_1002F2DF0 from 0x1002f2df0 to 0x1002f2e68 (120 bytes)
//
// 35 xrefs:
// > sub_1002FFCB4 @ 0x1002ffcf8
// > sub_1002FFE78 @ 0x1002ffebc
// > GameObject::setupCustomSprites @ 0x10034e5e4
// > GameObject::setupCustomSprites @ 0x10034e8fc
// > GameObject::setupCustomSprites @ 0x10034eb7c
// > GameObject::setupCustomSprites @ 0x100350c38
// > GameObject::setupCustomSprites @ 0x100352ae0
// > GameObject::setupCustomSprites @ 0x100352cf0
// > GameObject::setupCustomSprites @ 0x10035301c
// > GameObject::setupCustomSprites @ 0x1003530b8
// > GameObject::setupCustomSprites @ 0x100354194
// > GameObject::setupCustomSprites @ 0x1003542a8
// > GameObject::setupCustomSprites @ 0x100354a9c
// > GameObject::setupCustomSprites @ 0x100354b1c
// > GameObject::setupCustomSprites @ 0x100354ba0
// > GameObject::setupCustomSprites @ 0x100354d54
// > GameObject::setupCustomSprites @ 0x100354dd8
// > GameObject::setupCustomSprites @ 0x10035baa4
// > GameObject::setupCustomSprites @ 0x10035cf48
// > GameObject::setupCustomSprites @ 0x10035e5e0
// > GameObject::setupCustomSprites @ 0x10035e66c
// > GameObject::setupCustomSprites @ 0x10035e6f8
// > GameObject::setupCustomSprites @ 0x10035fc3c
// > GameObject::setupCustomSprites @ 0x100360174
// > GameObject::setupCustomSprites @ 0x1003604f4
// > GameObject::setupCustomSprites @ 0x10036085c
// > GameObject::setupCustomSprites @ 0x1003622bc
// > GameObject::setupCustomSprites @ 0x1003628e4
// > GameObject::setupCustomSprites @ 0x10036297c
// > GameObject::setupCustomSprites @ 0x1003629e4
// > GameObject::setupCustomSprites @ 0x100362b28
// > GameObject::setupCustomSprites @ 0x100362bcc
// > GameObject::setupCustomSprites @ 0x100362c70
// > GameObject::setupCustomSprites @ 0x100362f34
// > GameObject::setupCustomSprites @ 0x1003634b8
//
// This function is hookable on this platform (idp: arm, 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:02:57 +0000
//
void __usercall sub_1002F2DF0(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_1002F22C0(&__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_);
}