//
// UILayer::togglePlatformerMode from 0x6f0408 to 0x6f043c (52 bytes)
//
// 5 xrefs:
// > UILayer::init @ 0x6f07fc
// > UILayer::updateDualMode @ 0x6f0abc
// > PlayLayer::setupHasCompleted @ 0x707b20
// > LevelEditorLayer::onPlaytest @ 0x7962e8
// > ??> @ 0xd85f8
//
// 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 12:51:48 +0000
//
__int64 __fastcall UILayer::togglePlatformerMode(UILayer *this, char a2)
{
*((_BYTE *)this + 596) = a2;
UILayer::refreshDpad(this);
UILayer::applyLevelBindings(this);
return UILayer::updateUINodeVisibility((cocos2d::CCArray **)this, *((_BYTE *)this + 596));
}