//
// sub_1003F3890 from 0x1003f3890 to 0x1003f393d (173 bytes)
//
// 1 xrefs:
// > ??> @ 0x100932b58
//
// 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
//
__int64 __fastcall sub_1003F3890(__int64 a1, __m128 a2, __int64 a3, __int64 a4)
{
__int64 v4; // rbx
cocos2d::CCSpriteFrameCache *v5; // rax
const char *v6; // rsi
cocos2d::CCSpriteFrame *v7; // rax
_mm_storel_ps((double *)(a1 + 48), a2);
*(_QWORD *)(a1 + 56) = a4;
*(_BYTE *)(a1 + 64) = 1;
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 40) + 1056LL))(*(_QWORD *)(a1 + 40));
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = "GJ_hsv2Btn_001.png";
if ( *(float *)(a1 + 48) == *(float *)&xmmword_1009A14E0
&& *(float *)(a1 + 52) == *((float *)&xmmword_1009A14E0 + 1)
&& *(float *)(a1 + 56) == *((float *)&xmmword_1009A14E0 + 2)
&& *(_BYTE *)(a1 + 60) == BYTE12(xmmword_1009A14E0) )
{
v6 = "GJ_hsv2Btn_001.png";
if ( *(_BYTE *)(a1 + 61) == BYTE13(xmmword_1009A14E0) )
v6 = "GJ_hsvBtn_001.png";
}
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6);
return (*(__int64 (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v4 + 1144LL))(v4, v7);
}