//
// DeathMarkerLayer::create from 0x76d82c to 0x76d940 (276 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::addDeathMarkerLayer @ 0x592ee6
//
// 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:59:13 +0000
//
int __fastcall DeathMarkerLayer::create(
int *a1,
int a2,
int a3,
char a4,
float *a5,
unsigned int a6,
int a7,
float a8,
float a9,
float a10,
int a11,
int a12,
int a13,
char a14,
char a15)
{
int v18; // r4
v18 = operator new(0x164u);
memset((void *)v18, 0, 0x164u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v18);
*(_BYTE *)(v18 + 325) = 1;
*(_DWORD *)(v18 + 292) = 1065353216;
*(_DWORD *)(v18 + 300) = -1;
*(_DWORD *)v18 = &off_CF5450;
*(_DWORD *)(v18 + 264) = 0;
*(_DWORD *)(v18 + 268) = 0;
*(_DWORD *)(v18 + 272) = 0;
*(_DWORD *)(v18 + 276) = 0;
*(_DWORD *)(v18 + 280) = 0;
*(_DWORD *)(v18 + 284) = 0;
*(_DWORD *)(v18 + 288) = 0;
*(_DWORD *)(v18 + 296) = 0;
*(_DWORD *)(v18 + 304) = 0;
*(_BYTE *)(v18 + 312) = 0;
*(_DWORD *)(v18 + 316) = 0;
*(_DWORD *)(v18 + 320) = 0;
*(_BYTE *)(v18 + 324) = 0;
*(_DWORD *)(v18 + 344) = 0;
*(_BYTE *)(v18 + 348) = 0;
*(_BYTE *)(v18 + 349) = 0;
*(_DWORD *)(v18 + 352) = 0;
*(_DWORD *)(v18 + 308) = -1;
*(_WORD *)(v18 + 326) = -1;
*(_BYTE *)(v18 + 328) = -1;
*(_DWORD *)(v18 + 336) = 1065353216;
*(_DWORD *)(v18 + 332) = 0;
*(_DWORD *)(v18 + 340) = -1;
if ( DeathMarkerLayer::init((int *)v18, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v18);
return v18;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v18 + 8))(v18);
return 0;
}
}