//
// UILayer::updateDualMode from 0x5c8510 to 0x5c8530 (32 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x88a38c
// > ??> @ 0x45cf0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void UILayer::updateDualMode(UILayer *a1, bool a2)
{
bool m_inPlatformer; // w1
if ( a1->m_dualMode != a2 )
{
m_inPlatformer = a1->m_inPlatformer;
a1->m_dualMode = a2;
UILayer::togglePlatformerMode(a1, m_inPlatformer);
}
}