//
// PlatformerControlsPopup::syncSourceUI from 0x79cc38 to 0x79cc5e (38 bytes)
//
// 3 xrefs:
// > PlatformerControlsPopup::onLevelControlsRefreshed @ 0x79dd34
// > PlatformerControlsPopup::uploadActionFinished @ 0x79dea6
// > PlatformerControlsPopup::onApplyCreator @ 0x79e096
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:50 +0000
//
int __fastcall PlatformerControlsPopup::syncSourceUI(PlatformerControlsPopup *this)
{
CCMenuItemToggler *v2; // r5
int IsCustom; // r0
v2 = *((CCMenuItemToggler **)this + 189);
if ( v2 )
{
IsCustom = PlatformerControlsPopup::sourceIsCustom(this);
CCMenuItemToggler::toggle(v2, IsCustom);
}
PlatformerControlsPopup::updateEditLabel(this);
return PlatformerControlsPopup::refreshModeUI((cocos2d::CCPoint **)this);
}