//
// PlatformerControlsPopup::syncSourceUI from 0xcfac08 to 0xcfac48 (64 bytes)
//
// 4 xrefs:
// > PlatformerControlsPopup::onLevelControlsRefreshed @ 0xcfbc28
// > PlatformerControlsPopup::uploadActionFinished @ 0xcfbdd4
// > PlatformerControlsPopup::onApplyCreator @ 0xcfc550
// > ??> @ 0xfea40
//
// 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:51 +0000
//
__int64 __fastcall PlatformerControlsPopup::syncSourceUI(PlatformerControlsPopup *this)
{
CCMenuItemToggler *v2; // x20
unsigned __int8 IsCustom; // w0
v2 = *((CCMenuItemToggler **)this + 138);
if ( v2 )
{
IsCustom = PlatformerControlsPopup::sourceIsCustom(this);
CCMenuItemToggler::toggle(v2, IsCustom);
}
PlatformerControlsPopup::updateEditLabel(this);
return PlatformerControlsPopup::refreshModeUI((cocos2d::CCNode **)this);
}