// // cocos2d::CCDirector::applySmoothFix from 0x7ca0a0 to 0x7ca0f8 (88 bytes) // // 1 xrefs: // > cocos2d::CCDirector::calculateDeltaTime @ 0x7ca17c // // 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 12:00:29 +0000 // int __fastcall cocos2d::CCDirector::applySmoothFix(int this) { float v1; // s14 int v2; // r3 int v3; // r3 if ( *(_BYTE *)(this + 141) && *(_BYTE *)(this + 142) ) { v1 = *(double *)(this + 160); v2 = *(_DWORD *)(this + 144); if ( fabsf(*(float *)(this + 132) - v1) <= (float)(v1 * 0.05) ) v3 = v2 - 2; else v3 = v2 + 1; if ( v3 >= 100 ) v3 = 100; if ( v3 < -100 ) v3 = -100; *(_DWORD *)(this + 144) = v3; if ( v3 <= 0 ) *(float *)(this + 132) = v1; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source