// // TimeSpeedControl::timeSliderChanged from 0x7a21e4 to 0x7a22b0 (204 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 // GameManager *__fastcall TimeSpeedControl::timeSliderChanged(TimeSpeedControl *this, cocos2d::CCObject *a2) { float v3; // r0 float v4; // s16 int v5; // r4 GameManager *v6; // r0 GameManager *GameVariable; // r0 float v8; // s15 int v9; // r4 GameManager *result; // r0 const char *v11; // r1 int v12; // r4 int (__fastcall *v13)(int, int); // r5 cocos2d::CCString *v14; // r0 int CString; // r0 SliderThumb::getValue(a2); v3 = COERCE_FLOAT(roundf()); v4 = v3 / 10.0; *(float *)(*((_DWORD *)this + 66) + 11148) = v3 / 10.0; v5 = *((_DWORD *)this + 66); v6 = (GameManager *)GameManager::sharedState((GameManager *)LODWORD(v3)); GameVariable = (GameManager *)GameManager::getGameVariable(v6, "0183"); if ( GameVariable ) v8 = 1.0; else v8 = v4; *(float *)(v5 + 11152) = v8; v9 = *((_DWORD *)this + 66); result = (GameManager *)GameManager::sharedState(GameVariable); if ( v9 == *((_DWORD *)result + 101) && v4 != 1.0 ) { result = (GameManager *)GameManager::sharedState(result); v11 = (_BYTE *)(&dword_0 + 1); *(_BYTE *)(*((_DWORD *)result + 101) + 11798) = 1; } v12 = *((_DWORD *)this + 68); if ( v12 ) { v13 = *(int (__fastcall **)(int, int))(*(_DWORD *)v12 + 464); v14 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.01fx", v11, v4); CString = cocos2d::CCString::getCString(v14); return (GameManager *)v13(v12, CString); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source