//
// GJBaseGameLayer::bumpPlayer from 0x5a4a44 to 0x5a4b1c (216 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::collisionCheckObjects @ 0x5ba8bc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:19 +0000
//
_DWORD *__fastcall GJBaseGameLayer::bumpPlayer(int **this, PlayerObject *a2, EffectGameObject *a3)
{
_DWORD *result; // r0
int v7; // r10
int v8; // r0
float BumpMod; // r0
float v10; // r8
int v11; // r0
int v12; // r0
int v13; // r0
_BYTE v14[8]; // [sp+Ch] [bp-14h] BYREF
_BYTE v15[8]; // [sp+14h] [bp-Ch] BYREF
result = (_DWORD *)GJBaseGameLayer::canBeActivatedByPlayer(this, a2, a3);
if ( result )
{
v7 = (*(int (__fastcall **)(EffectGameObject *))(*(_DWORD *)a3 + 96))(a3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -10.0);
cocos2d::CCPoint::operator+(v14, v7, v15);
cocos2d::CCPoint::operator=((char *)a2 + 2024, v14);
(*(void (__fastcall **)(EffectGameObject *, PlayerObject *))(*(_DWORD *)a3 + 768))(a3, a2);
v8 = (*(int (__fastcall **)(EffectGameObject *))(*(_DWORD *)a3 + 900))(a3);
BumpMod = GJBaseGameLayer::getBumpMod((GJBaseGameLayer *)this, a2, v8);
*((_DWORD *)a2 + 525) = a3;
v10 = BumpMod;
if ( *((_BYTE *)a3 + 1596) )
PlayerObject::reversePlayer(a2, a3);
v11 = (*(int (__fastcall **)(EffectGameObject *))(*(_DWORD *)a3 + 900))(a3);
PlayerObject::bumpPlayer(a2, v10, v11, *((_BYTE *)a3 + 908), a3);
v12 = (*(int (__fastcall **)(EffectGameObject *))(*(_DWORD *)a3 + 900))(a3);
v13 = GJBaseGameLayer::objectTypeToGameEvent((GJBaseGameLayer *)this, v12);
GJBaseGameLayer::gameEventTriggered(this, v13, 0, 0);
return GJBaseGameLayer::gameEventTriggered(this, 9, 0, 0);
}
return result;
}