// // GJBaseGameLayer::playSpeedParticle from 0x10013c150 to 0x10013c2c2 (370 bytes) // // 1 xrefs: // > PlayerObject::updateTimeMod @ 0x1003e98ba // // 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:53 +0000 // void __fastcall GJBaseGameLayer::playSpeedParticle(_BYTE *a1, __int64 a2, __int64 a3, float a4) { __int64 v4; // rax const char *v5; // r14 __int64 v6; // rax __int64 v7; // r14 __int64 v8; // rax float v9; // xmm0_4 __int64 v10; // rax double v11; // xmm0_8 _BYTE v12[4]; // [rsp+Ch] [rbp-24h] BYREF float v13; // [rsp+10h] [rbp-20h] _BYTE v14[8]; // [rsp+14h] [rbp-1Ch] BYREF float v15; // [rsp+1Ch] [rbp-14h] v15 = a4; GameManager::sharedState(a1, a2, a3); if ( !*(_BYTE *)(v4 + 925) && !a1[12605] ) { if ( v15 == 0.69999999 ) { v5 = "speedEffect_slow.plist"; } else if ( v15 == 1.1 ) { v5 = "speedEffect_fast.plist"; } else if ( v15 == 1.3 ) { v5 = "speedEffect_vfast.plist"; } else { v5 = "speedEffect_vvfast.plist"; if ( v15 != 1.6 ) v5 = "speedEffect_normal.plist"; } v6 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(v12, v6); v7 = cocos2d::CCParticleSystemQuad::create(v5, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1568LL))(v7, 2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1584LL))(v7, 1); (*(void (__fastcall **)(_BYTE *, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 100); v8 = cocos2d::CCDirector::sharedDirector(a1, v7); v9 = sub_100479770(v8); sub_100278250(v14, v9 + 10.0, v13 * 0.5); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 184LL))(v7, v14); v10 = cocos2d::CCDirector::sharedDirector(v7, v14); v11 = sub_100479720(v10); sub_100278250(v14, 10.0, 0.5 * (float)(*(float *)&v11 * 320.0)); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 960LL))(v7, v14); cocos2d::CCParticleSystem::resetSystem(v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source