//
// GJBaseGameLayer::bumpPlayer from 0x14031f080 to 0x14031f26c (492 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::collisionCheckObjects @ 0x14031cc7d
// > ??> @ 0x1408b5494
// > ??> @ 0x1408b54a4
// > ??> @ 0x14091ed04
//
// This function is hookable on this platform (idp: pc, 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:30:22 +0000
//
double __fastcall GJBaseGameLayer::bumpPlayer(__int64 a1, __int64 a2, _BYTE *a3)
{
__int64 v6; // rax
__int64 v7; // rbx
__int64 v8; // rax
unsigned __int8 v9; // bl
int v10; // eax
int v11; // edx
unsigned int v12; // eax
__int64 v13; // rcx
unsigned int v14; // eax
double result; // xmm0_8
_BYTE v16[16]; // [rsp+30h] [rbp-28h] BYREF
char v17; // [rsp+78h] [rbp+20h] BYREF
if ( GJBaseGameLayer::canBeActivatedByPlayer(a1, a2, a3) )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 0.0, -10.0);
v7 = v6;
v8 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 200LL))(a3);
cocos2d::CCPoint::operator+(v8, &v17, v7);
cocos2d::CCPoint::operator=(a2 + 2568, &v17);
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a3 + 1384LL))(a3, a2);
(*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 1648LL))(a3);
*(_QWORD *)(a2 + 2696) = a3;
if ( a3[1796] )
PlayerObject::reversePlayer(a2, a3);
v9 = a3[1052];
v10 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 1648LL))(a3);
PlayerObject::bumpPlayer(a2, v11, v10, v9, (__int64)a3);
v12 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 1648LL))(a3);
v14 = GJBaseGameLayer::objectTypeToGameEvent(v13, v12);
GJBaseGameLayer::gameEventTriggered(a1, v14, 0, 0);
return GJBaseGameLayer::gameEventTriggered(a1, 9, 0, 0);
}
return result;
}