// // GJPathPage::unlockAnimationStep2 from 0x1003bacf4 to 0x1003bae24 (304 bytes) // // 1 xrefs: // > GJPathPage::playUnlockAnimation @ 0x1003ba6c0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJPathPage::unlockAnimationStep2(GJPathPage *a1) { cocos2d::CCDirector *v2; // x0 cocos2d::CCParticleSystemQuad *v3; // x20 __n128 v4; // q0 __n128 v5; // q1 int v6; // s1 int v7; // s2 int v8; // s1 int v9; // s2 float v10; // [xsp+0h] [xbp-50h] BYREF int v11; // [xsp+4h] [xbp-4Ch] int v12; // [xsp+8h] [xbp-48h] int v13; // [xsp+Ch] [xbp-44h] void *__p[2]; // [xsp+10h] [xbp-40h] BYREF char v15; // [xsp+27h] [xbp-29h] float v16; // [xsp+28h] [xbp-28h] float v17; // [xsp+2Ch] [xbp-24h] v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2); sub_100009900( __p, "84a0.97a1a0.16a72a180a180a29a0a11a0a0a0a0a0a0a0a2a1a0a0a1a0a0a0a0a0a1a0a1a1a0a0a1a0a0.568627a0a0a0a1a0a0.8a0a0.2a0a1" "50a0a0a0a0a0a1a2a1a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0"); v3 = GameToolbox::particleFromString((__int64)__p, nullptr, 0); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64))v3->setAutoRemoveOnFinish)(v3, 1); ((void (__fastcall *)(GJPathPage *, cocos2d::CCParticleSystemQuad *, __int64))a1->addChild_0)(a1, v3, 11); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))v3->setScale)(v3, 2.0); cocos2d::CCParticleSystem::resetSystem(v3); v4.n128_f32[0] = v16 * 0.5; v5.n128_f32[0] = v17 * 0.5; sub_100022980(v4, v5, &v10); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float *))v3->setPosition)(v3, &v10); v10 = sub_1003B7E44(a1->m_pathNumber); v11 = v6; v12 = v7; v13 = 1065353216; ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float *))v3->setStartColor)(v3, &v10); v10 = sub_1003B7DF0(a1->m_pathNumber); v11 = v8; v12 = v9; v13 = 1065353216; ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float *))v3->setEndColor)(v3, &v10); if ( v15 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source