//
// sub_10043F454 from 0x10043f454 to 0x10043f514 (192 bytes)
//
// 2 xrefs:
// > TriggerControlGameObject::customObjectSetup @ 0x10043f450
// > SetupStopTriggerPopup::onClose @ 0x10049252c
//
// 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:05:11 +0000
//
void __fastcall sub_10043F454(__int64 a1)
{
int v2; // w8
const std::string::value_type *v3; // x1
_QWORD *v4; // x20
std::string *v5; // x0
__int64 v6; // x0
__int64 v7; // x0
std::string __str; // [xsp+8h] [xbp-28h] BYREF
sub_100009900(&__str, "edit_eStopMoverBtn_001.png");
v2 = *(_DWORD *)(a1 + 1864);
if ( v2 == 2 )
{
v3 = "edit_eResumeBtn_001.png";
}
else
{
if ( v2 != 1 )
goto LABEL_6;
v3 = "edit_ePauseBtn_001.png";
}
std::string::assign(&__str, v3);
LABEL_6:
v4 = (_QWORD *)(a1 + 1840);
if ( !sub_1000045BC((_QWORD *)(a1 + 1840), &__str) )
{
v5 = std::string::operator=((std::string *)(a1 + 1840), &__str);
v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5);
if ( *(char *)(a1 + 1863) < 0 )
v4 = (_QWORD *)*v4;
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1160LL))(a1, v7);
}
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
}