//
// PlayerObject::playBumpEffect from 0x753550 to 0x7536b0 (352 bytes)
//
// 3 xrefs:
// > PlayerObject::propellPlayer @ 0x7563c0
// > PlayerObject::bumpPlayer @ 0x765ee8
// > ??> @ 0xfb5c0
//
// 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:56 +0000
//
__int64 __fastcall PlayerObject::playBumpEffect(cocos2d::CCNode **this, int a2, GameObject *a3)
{
__int64 result; // x0
__int64 v6; // x19
char v7; // w2
char v8; // w4
char v9; // w1
__int64 v10; // x3
cocos2d::CCNode *v11; // x1
GameManager *v12; // x0
__int64 v13; // x0
GameManager *v14; // x0
__int64 v15; // x0
result = *(unsigned __int8 *)(GameManager::sharedState((GameManager *)this) + 925);
if ( (_DWORD)result )
return result;
result = *((unsigned __int8 *)this + 1972);
if ( !*((_BYTE *)this + 1972) )
return result;
if ( *((float *)this + 618) >= 1.0 && a2 == 34 )
{
v6 = CCCircleWave::create(nullptr, 12.0, 40.0, 0.25);
LABEL_6:
if ( a2 == 44 )
{
v7 = -1;
v8 = 50;
v9 = -1;
}
else
{
if ( a2 == 9 )
{
v7 = -1;
v8 = 0;
}
else
{
v7 = 0;
v8 = -56;
}
v9 = -1;
}
goto LABEL_10;
}
v6 = CCCircleWave::create(nullptr, 10.0, 40.0, 0.25);
if ( a2 != 10 )
goto LABEL_6;
v7 = -1;
v9 = 0;
v8 = -1;
LABEL_10:
v10 = *(_QWORD *)v6;
*(_BYTE *)(v6 + 340) = v9;
*(_BYTE *)(v6 + 341) = v8;
*(_BYTE *)(v6 + 342) = v7;
(*(void (__fastcall **)(__int64, char *))(v10 + 184))(v6, (char *)this + 2488);
v11 = *(this + 324);
if ( v11 )
{
v12 = (GameManager *)CCCircleWave::followObject((CCCircleWave *)v6, v11, 1u);
v13 = *(_QWORD *)(GameManager::sharedState(v12) + 544);
if ( v13 )
v14 = (GameManager *)(v13 + 13992);
else
v14 = nullptr;
*(_QWORD *)(v6 + 368) = v14;
v15 = GameManager::sharedState(v14);
PlayLayer::addCircle(*(cocos2d::CCArray ***)(v15 + 544), (CCCircleWave *)v6);
}
return (*(__int64 (__fastcall **)(_QWORD, __int64, _QWORD))(*(_QWORD *)*(this + 378) + 464LL))(*(this + 378), v6, 0);
}