//
// GJGameLevel::recordDeath from 0x4ddaf8 to 0x4ddb56 (94 bytes)
//
// 1 xrefs:
// > PlayLayer::destroyPlayer @ 0x405b8c
//
// 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:50:58 +0000
//
_DWORD *__fastcall GJGameLevel::recordDeath(GJGameLevel *this, int a2, int a3, int a4)
{
_DWORD *result; // r0
*((_DWORD *)this + 297) = 2;
if ( a4 )
{
GJGameLevel::dtBumpRun((int)this, (unsigned __int8 *)this + 1204, a2, a3);
GJGameLevel::dtAppendOrder((int)this, (unsigned __int8 *)this + 1228, a2, 0);
return GJGameLevel::dtAppendOrder((int)this, (unsigned __int8 *)this + 1228, a3, 0);
}
else
{
GJGameLevel::dtBumpBucket((int)this, (unsigned __int8 *)this + 1192, a3);
result = GJGameLevel::dtAppendOrder((int)this, (unsigned __int8 *)this + 1216, a3, 1);
*((_BYTE *)this + 1300) = 1;
}
return result;
}