// // TimeSpeedControl::onAudioTimeSpeedToggle from 0xd03a2c to 0xd03a90 (100 bytes) // // 3 xrefs: // > @ 0xfbbc0 // > TimeSpeedControl::init @ 0xd03e08 // > @ 0x1547a78 // // 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 13:06:55 +0000 // float __fastcall TimeSpeedControl::onAudioTimeSpeedToggle(TimeSpeedControl *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 GameManager *v4; // x0 GameManager *v5; // x0 char GameVariable; // w0 __int64 v7; // x1 float result; // s0 v3 = (GameManager *)GameManager::sharedState(this); v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0183"); v5 = (GameManager *)GameManager::sharedState(v4); GameVariable = GameManager::getGameVariable(v5, "0183"); v7 = *((_QWORD *)this + 40); if ( GameVariable ) { *(float *)(v7 + 13116) = 1.0; return 1.0; } else { result = *(float *)(v7 + 13112); *(float *)(v7 + 13116) = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source