//
// PlayerObject::propellPlayer from 0x756228 to 0x756428 (512 bytes)
//
// 3 xrefs:
// > PlayerObject::bumpPlayer @ 0x765e30
// > GJBaseGameLayer::gravBumpPlayer @ 0x9c25a4
// > ??> @ 0x76ee8
//
// This function is hookable on this platform (idp: arm, 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:52:57 +0000
//
__int64 __fastcall PlayerObject::propellPlayer(PlayerObject *this, float a2, unsigned __int8 a3, int a4)
{
int v5; // w21
float v6; // s2
float v8; // s8
int v9; // w0
__int64 v10; // x0
__int64 v12; // x22
__int64 v13; // x22
__int64 v15; // [xsp+50h] [xbp+50h] BYREF
__int64 v16; // [xsp+58h] [xbp+58h]
void *v17; // [xsp+60h] [xbp+60h]
v5 = a3;
v6 = *((float *)this + 618);
*((_BYTE *)this + 2500) = 0;
*((_BYTE *)this + 2516) = 1;
*((_BYTE *)this + 2425) = 0;
*((_BYTE *)this + 1971) = 1;
*((_BYTE *)this + 2408) = 0;
*((_BYTE *)this + 2409) = 0;
v8 = 1.0;
if ( v6 != 1.0 )
v8 = 0.8;
v9 = PlayerObject::flipMod(this);
PlayerObject::setYVelocity((__int64)this, (float)((float)((float)(a2 * 16.0) * (float)v9) * v8));
if ( *((_BYTE *)this + 2419) || *((_BYTE *)this + 2422) || *((_BYTE *)this + 2428) )
{
*((double *)this + 299) = *((double *)this + 299) * 0.600000024;
PlayerObject::runRotateAction(this);
if ( !v5 )
goto LABEL_14;
}
else
{
PlayerObject::runRotateAction(this);
if ( !v5 )
{
LABEL_14:
PlayerObject::playBumpEffect((cocos2d::CCNode **)this, a4, nullptr);
if ( *((_BYTE *)this + 2421) )
goto LABEL_15;
goto LABEL_7;
}
}
if ( *((_BYTE *)this + 2421) )
{
LABEL_15:
v13 = *((_QWORD *)this + 267);
v15 = 0;
v16 = 0;
v17 = nullptr;
std::string::__init(&v15, "jump_start", 0xAu);
CCAnimatedSprite::runAnimation(v13, (char *)&v15);
goto LABEL_10;
}
LABEL_7:
if ( !*((_BYTE *)this + 2422) )
goto LABEL_8;
v12 = *((_QWORD *)this + 268);
v15 = 0;
v16 = 0;
v17 = nullptr;
std::string::__init(&v15, "fall_loop", 9u);
CCAnimatedSprite::runAnimation(v12, (char *)&v15);
LABEL_10:
if ( (v15 & 1) != 0 )
operator delete(v17);
LABEL_8:
PlayerObject::activateStreak((cocos2d::CCNode **)this);
v10 = (*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)this + 192LL))(this);
cocos2d::CCPoint::operator=((char *)this + 2532, v10);
return _stack_chk_guard;
}