//
// UILayer::updateDualMode from 0x100050e18 to 0x100050e34 (28 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::toggleDualMode @ 0x100281ab8
//
// 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 10:57:43 +0000
//
__int64 __fastcall UILayer::updateDualMode(__int64 result, int a2)
{
if ( *(unsigned __int8 *)(result + 624) != a2 )
{
*(_BYTE *)(result + 624) = a2;
return UILayer::togglePlatformerMode(result, *(_BYTE *)(result + 596));
}
return result;
}