//
// UILayer::togglePlatformerMode from 0x3fd898 to 0x3fd8b8 (32 bytes)
//
// 4 xrefs:
// > UILayer::init @ 0x3fdc38
// > UILayer::updateDualMode @ 0x3fdd90
// > PlayLayer::setupHasCompleted @ 0x40a178
// > LevelEditorLayer::onPlaytest @ 0x4681f6
//
// 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:47:22 +0000
//
unsigned int __fastcall UILayer::togglePlatformerMode(UILayer *this, bool a2)
{
*((_BYTE *)this + 476) = a2;
UILayer::refreshDpad((int)this, a2);
UILayer::applyLevelBindings(this);
return UILayer::updateUINodeVisibility((cocos2d::CCArray **)this, *((unsigned __int8 *)this + 476));
}