//
// sub_10003BC88 from 0x10003bc88 to 0x10003bd50 (200 bytes)
//
// 4 xrefs:
// > sub_10003B398 @ 0x10003b8c4
// > SetupAreaTintTriggerPopup::hsvPopupClosed @ 0x10003bf68
// > sub_10003BF6C @ 0x10003bf80
// > SetupAreaAnimTriggerPopup::init @ 0x10003d078
//
// 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 10:57:34 +0000
//
__int64 __fastcall sub_10003BC88(__int64 a1)
{
__int64 v2; // x19
__int64 v3; // x0
const char *v4; // x1
__int64 v5; // x1
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1040) + 1072LL))(*(_QWORD *)(a1 + 1040));
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);
if ( *(float *)(a1 + 1048) == *(float *)&xmmword_1009F2730
&& *(float *)(a1 + 1052) == *((float *)&xmmword_1009F2730 + 1)
&& *(float *)(a1 + 1056) == *((float *)&xmmword_1009F2730 + 2) )
{
v4 = "GJ_hsv2Btn_001.png";
if ( __PAIR64__(*(unsigned __int8 *)(a1 + 1061), *(unsigned __int8 *)(a1 + 1060)) == __PAIR64__(
BYTE13(xmmword_1009F2730),
BYTE12(xmmword_1009F2730)) )
v4 = "GJ_hsvBtn_001.png";
}
else
{
v4 = "GJ_hsv2Btn_001.png";
}
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, v4);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v5);
}