//
// EditorSFXActionConfigLayer::refreshModeButtons from 0xcbde60 to 0xcbded0 (112 bytes)
//
// 3 xrefs:
// > EditorSFXActionConfigLayer::onToggleMode @ 0xcbdf10
// > EditorSFXActionConfigLayer::init @ 0xcbef88
// > ??> @ 0x58a20
//
// 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 13:06:15 +0000
//
__int64 __fastcall EditorSFXActionConfigLayer::refreshModeButtons(EditorSFXActionConfigLayer *this)
{
EditorSFXManager *v2; // x0
__int64 result; // x0
const char *v4; // x1
v2 = (EditorSFXManager *)EditorSFXManager::sharedState(this);
result = EditorSFXManager::getPlayMode(v2, *((_DWORD *)this + 256));
if ( *((_QWORD *)this + 129) )
{
if ( (_DWORD)result )
v4 = "GJ_button_04.png";
else
v4 = "GJ_button_02.png";
ButtonSprite::updateBGImage(*((ButtonSprite **)this + 129), v4);
return (*(__int64 (__fastcall **)(_QWORD, float, float))(**(_QWORD **)(*((_QWORD *)this + 129) + 632LL) + 248LL))(
*(_QWORD *)(*((_QWORD *)this + 129) + 632LL),
0.0,
-1.5);
}
return result;
}