//
// PlatformToolbox::toggleSmoothFix from 0x39496c to 0x39497a (14 bytes)
//
// 4 xrefs:
// > GameManager::loadVideoSettings @ 0x416b42
// > MoreOptionsLayer::onToggle @ 0x5318f8
// > MoreVideoOptionsLayer::onToggle @ 0x531c38
// > GameSettingsLayer::didChangeGV @ 0x7107e2
//
// 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:46:18 +0000
//
int __fastcall PlatformToolbox::toggleSmoothFix(PlatformToolbox *this, bool a2)
{
char v2; // r4
int result; // r0
v2 = (char)this;
result = cocos2d::CCDirector::sharedDirector(this);
*(_BYTE *)(result + 141) = v2;
return result;
}