//
// TimeSpeedControl::onAudioTimeSpeedToggle from 0x7a22c0 to 0x7a22f8 (56 bytes)
//
// 0 xrefs:
//
// 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:59:54 +0000
//
int __fastcall TimeSpeedControl::onAudioTimeSpeedToggle(TimeSpeedControl *this, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
GameManager *v4; // r0
GameManager *v5; // r0
int result; // r0
int v7; // r3
int v8; // r2
v3 = (GameManager *)GameManager::sharedState(this);
v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0183");
v5 = (GameManager *)GameManager::sharedState(v4);
result = GameManager::getGameVariable(v5, "0183");
v7 = *((_DWORD *)this + 66);
if ( result )
v8 = 1065353216;
else
v8 = *(_DWORD *)(v7 + 11148);
*(_DWORD *)(v7 + 11152) = v8;
return result;
}