// // PlayerObject::updatePlayerArt from 0x140398860 to 0x140398bfc (924 bytes) // // 15 xrefs: // > GJBaseGameLayer::setupLevelStart @ 0x140212278 // > GJBaseGameLayer::collisionCheckObjects @ 0x140214f38 // > GJBaseGameLayer::loadStartPosObject @ 0x1402357e2 // > PlayerObject::doReversePlayer @ 0x1403985bb // > PlayerObject::rotateGameplay @ 0x140399e29 // > PlayerObject::flipGravity @ 0x14039a33a // > PlayerObject::toggleFlyMode @ 0x14039a7fe // > PlayerObject::toggleBirdMode @ 0x14039aaee // > PlayerObject::toggleSwingMode @ 0x14039ada7 // > PlayerObject::toggleDartMode @ 0x14039b2be // > PlayerObject::toggleRollMode @ 0x14039b6d1 // > PlayerObject::toggleRobotMode @ 0x14039ba39 // > PlayerObject::toggleSpiderMode @ 0x14039bd2f // > PlayerObject::loadFromCheckpoint @ 0x1403a2a53 // > @ 0x1406d6548 // // 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 PlayerObject::updatePlayerArt(PlayerObject *a1) { double v2; // xmm0_8 int v3; // xmm1_4 float v4; // xmm0_4 int v5; // xmm1_4 float v6; // xmm0_4 __int64 v7; // rax int v8; // xmm3_4 float v9; // xmm0_4 __int64 v10; // rax double v11; // xmm0_8 __int64 v12; // rax int v13; // xmm1_4 int v14; // [rsp+50h] [rbp+20h] BYREF int v15; // [rsp+54h] [rbp+24h] int v16; // [rsp+58h] [rbp+28h] BYREF int v17; // [rsp+5Ch] [rbp+2Ch] ((void (__fastcall *)(cocos2d::CCNode *))a1->m_mainLayer->setScaleX)(a1->m_mainLayer); ((void (__fastcall *)(cocos2d::CCNode *))a1->m_mainLayer->setScaleY)(a1->m_mainLayer); ((void (__fastcall *)(cocos2d::CCNode *))a1->m_mainLayer->setRotation)(a1->m_mainLayer); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_playerGroundParticles->setAngle)(a1->m_playerGroundParticles); v2 = ((double (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_trailingParticles->setAngle)(a1->m_trailingParticles); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_shipClickParticles->setAngle)(a1->m_shipClickParticles); cocos2d::CCPoint::CCPoint(*(float *)&v2, 0.0); if ( a1->m_isSideways ) { v3 = v16; v16 = v17; v17 = v3; } a1->m_playerGroundParticles->setGravity(a1->m_playerGroundParticles, (const cocos2d::CCPoint *)&v16); a1->m_trailingParticles->setGravity(a1->m_trailingParticles, (const cocos2d::CCPoint *)&v16); v4 = ((float (__fastcall *)(cocos2d::CCParticleSystemQuad *, int *))a1->m_shipClickParticles->setGravity)( a1->m_shipClickParticles, &v16); cocos2d::CCPoint::CCPoint(v4, 0.0); if ( a1->m_isSideways ) { v5 = v14; v14 = v15; v15 = v5; } a1->m_trailingParticles->setPosVar(a1->m_trailingParticles, (const cocos2d::CCPoint *)&v14); a1->m_shipClickParticles->setPosVar(a1->m_shipClickParticles, (const cocos2d::CCPoint *)&v14); ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_ufoClickParticles->setAngle)(a1->m_ufoClickParticles); v6 = ((float (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_robotBurstParticles->setAngle)(a1->m_robotBurstParticles); cocos2d::CCPoint::CCPoint(v6, 5.0); cocos2d::CCPoint::operator=(&v14, v7); if ( a1->m_isSideways ) { v8 = v14; v14 = v15; v15 = v8; } a1->m_ufoClickParticles->setPosVar(a1->m_ufoClickParticles, (const cocos2d::CCPoint *)&v14); v9 = ((float (__fastcall *)(cocos2d::CCParticleSystemQuad *, int *))a1->m_robotBurstParticles->setPosVar)( a1->m_robotBurstParticles, &v14); cocos2d::CCPoint::CCPoint(v9, 5.0); v11 = cocos2d::CCPoint::operator=(&v14, v10); if ( a1->m_isRobot || a1->m_isSpider ) { cocos2d::CCPoint::CCPoint(*(float *)&v11, 15.0); cocos2d::CCPoint::operator=(&v14, v12); } if ( a1->m_isSideways ) { v13 = v14; v14 = v15; v15 = v13; } a1->m_playerGroundParticles->setPosVar(a1->m_playerGroundParticles, (const cocos2d::CCPoint *)&v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source