//
// GJBaseGameLayer::bumpPlayer from 0x1002847d4 to 0x100284910 (316 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::collisionCheckObjects @ 0x100283c84
//
// 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 11:01:57 +0000
//
void __fastcall GJBaseGameLayer::bumpPlayer(__int64 a1, __int64 a2, unsigned __int8 *a3)
{
float32x2_t *v6; // x22
double v7; // d0
__int64 v8; // x0
float BumpMod; // s8
__int64 v10; // x0
__int64 v11; // x0
__int64 v12; // x0
float32x2_t v13; // [xsp+0h] [xbp-40h] BYREF
float32x2_t v14; // [xsp+8h] [xbp-38h] BYREF
if ( (unsigned int)GJBaseGameLayer::canBeActivatedByPlayer(a1, a2, a3) )
{
v6 = (float32x2_t *)(*(__int64 (__fastcall **)(unsigned __int8 *))(*(_QWORD *)a3 + 192LL))(a3);
sub_1000262BC((float *)&v13, 0.0, -10.0);
sub_100026318(v6, &v13, &v14);
v7 = sub_10002630C((_QWORD *)(a2 + 2488), (double *)&v14);
(*(void (__fastcall **)(unsigned __int8 *, __int64, double))(*(_QWORD *)a3 + 1536LL))(a3, a2, v7);
v8 = (*(__int64 (__fastcall **)(unsigned __int8 *))(*(_QWORD *)a3 + 1800LL))(a3);
BumpMod = GJBaseGameLayer::getBumpMod(v8, a2, v8);
*(_QWORD *)(a2 + 2592) = a3;
if ( a3[1780] == 1 )
PlayerObject::reversePlayer(a2, a3);
v10 = (*(__int64 (__fastcall **)(unsigned __int8 *))(*(_QWORD *)a3 + 1800LL))(a3);
PlayerObject::bumpPlayer(a2, v10, a3[1044], a3, BumpMod);
v11 = (*(__int64 (__fastcall **)(unsigned __int8 *))(*(_QWORD *)a3 + 1800LL))(a3);
v12 = GJBaseGameLayer::objectTypeToGameEvent(v11, v11);
GJBaseGameLayer::gameEventTriggered(a1, v12, 0, 0);
GJBaseGameLayer::gameEventTriggered(a1, 9, 0, 0);
}
}