//
// GJBaseGameLayer::bumpPlayer from 0x9c2328 to 0x9c24b0 (392 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::collisionCheckObjects @ 0x9e9350
// > ??> @ 0xc5f20
//
// 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:58:30 +0000
//
__int64 __fastcall GJBaseGameLayer::bumpPlayer(GJBaseGameLayer *this, PlayerObject *a2, EffectGameObject *a3)
{
__int64 v7; // x25
long double v8; // q0
int v9; // w0
float BumpMod; // s0
int v11; // w0
long double v12; // q0
int v13; // w0
unsigned int v14; // w0
float v15; // [xsp+50h] [xbp+50h]
float v16; // [xsp+50h] [xbp+50h]
__int64 v17; // [xsp+68h] [xbp+68h] BYREF
_BYTE v18[8]; // [xsp+70h] [xbp+70h] BYREF
if ( (unsigned __int8)GJBaseGameLayer::canBeActivatedByPlayer((__int64 **)this, a2, a3) )
{
v7 = (*(__int64 (__fastcall **)(EffectGameObject *))(*(_QWORD *)a3 + 192LL))(a3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, 0.0, -10.0);
cocos2d::CCPoint::operator+(&v17, v7);
*(__n128 *)&v8 = cocos2d::CCPoint::operator=((char *)a2 + 2488, &v17);
(*(void (__fastcall **)(EffectGameObject *, PlayerObject *, long double))(*(_QWORD *)a3 + 1536LL))(a3, a2, v8);
v9 = (*(__int64 (__fastcall **)(EffectGameObject *))(*(_QWORD *)a3 + 1800LL))(a3);
BumpMod = GJBaseGameLayer::getBumpMod(this, a2, v9);
*((_QWORD *)a2 + 324) = a3;
if ( *((_BYTE *)a3 + 1780) )
{
v16 = BumpMod;
PlayerObject::reversePlayer(a2, a3);
BumpMod = v16;
}
v15 = BumpMod;
v11 = (*(__int64 (__fastcall **)(EffectGameObject *))(*(_QWORD *)a3 + 1800LL))(a3);
*(__n128 *)&v12 = PlayerObject::bumpPlayer(a2, v15, v11, *((_BYTE *)a3 + 1044), a3);
v13 = (*(__int64 (__fastcall **)(EffectGameObject *, long double))(*(_QWORD *)a3 + 1800LL))(a3, v12);
v14 = GJBaseGameLayer::objectTypeToGameEvent(this, v13);
GJBaseGameLayer::gameEventTriggered((__int64)this, v14, 0, 0);
GJBaseGameLayer::gameEventTriggered((__int64)this, 9u, 0, 0);
}
return _stack_chk_guard;
}