// // GJBaseGameLayer::applyTimeWarp from 0x10012d260 to 0x10012d331 (209 bytes) // // 3 xrefs: // > @ 0x100abb0b8 // > @ 0x100ac3ed0 // > @ 0x100ac5180 // // This function is hookable on this platform (idp: pc, 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 12:24:44 +0000 // __int64 __fastcall GJBaseGameLayer::applyTimeWarp(__int64 a1, __int64 a2, float a3) { float v4; // xmm2_4 __int64 v5; // rdi __int64 result; // rax __int64 v7; // rax double v8; // xmm0_8 __int64 v9; // rax *(float *)(a1 + 824) = a3; v4 = *(float *)(a1 + 13112); if ( fabs(v4 + -1.0) >= 0.0099999998 && !*(_BYTE *)(a1 + 1982) ) a3 = a3 * v4; v5 = cocos2d::CCDirector::sharedDirector(a1, a2); result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 128LL))(v5); if ( *(float *)(result + 56) != a3 && *(_BYTE *)(a1 + 12664) == 1 ) { v7 = cocos2d::CCDirector::sharedDirector(v5, a2); *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 128LL))(v7) + 56) = a3; if ( *(_BYTE *)(a1 + 1982) ) *(_QWORD *)&v8 = 1065353216; else *(_QWORD *)&v8 = *(unsigned int *)(a1 + 13116); v9 = FMODAudioEngine::sharedEngine(v8); return sub_1003D0A30(v9, *(float *)&v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source