//
// DrawGridLayer::create from 0x78fe24 to 0x78ff64 (320 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::init @ 0x7aef48
// > ??> @ 0x89350
//
// 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 12:53:28 +0000
//
__int64 __fastcall DrawGridLayer::create(DrawGridLayer *this, cocos2d::CCNode *a2, LevelEditorLayer *a3)
{
__int64 v5; // x19
v5 = operator new(0x260u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v5);
*(float *)(v5 + 464) = 1.0;
*(_QWORD *)(v5 + 432) = 0;
*(_QWORD *)v5 = &off_1436210;
*(float *)(v5 + 472) = -1.0;
*(_QWORD *)(v5 + 320) = off_14366A0;
*(_QWORD *)(v5 + 328) = &off_1436710;
*(_QWORD *)(v5 + 440) = 0;
*(_QWORD *)(v5 + 448) = 0;
*(_DWORD *)(v5 + 480) = 0;
*(_QWORD *)(v5 + 336) = off_1436728;
*(_DWORD *)(v5 + 484) = 0;
*(_QWORD *)(v5 + 344) = off_1436748;
*(_DWORD *)(v5 + 488) = 0;
*(_QWORD *)(v5 + 352) = off_1436770;
*(_DWORD *)(v5 + 576) = 0;
*(_QWORD *)(v5 + 456) = 0;
*(_BYTE *)(v5 + 492) = 0;
*(_QWORD *)(v5 + 504) = 0;
*(_QWORD *)(v5 + 512) = 0;
*(_QWORD *)(v5 + 520) = 0;
*(_QWORD *)(v5 + 528) = 0;
*(_QWORD *)(v5 + 536) = 0;
*(_QWORD *)(v5 + 544) = 0;
*(_QWORD *)(v5 + 552) = 0;
*(_QWORD *)(v5 + 560) = 0;
*(_BYTE *)(v5 + 600) = 0;
*(_BYTE *)(v5 + 601) = 0;
*(_QWORD *)(v5 + 568) = 0;
*(float *)(v5 + 604) = 30.0;
if ( (unsigned __int8)DrawGridLayer::init((DrawGridLayer *)v5, this, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return v5;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 16LL))(v5);
return 0;
}
}