//
// DrawGridLayer::create from 0x1003f78b4 to 0x1003f7990 (220 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::init @ 0x1003f6e58
//
// 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:04:34 +0000
//
char *__fastcall DrawGridLayer::create(__int64 a1, __int64 a2)
{
char *v4; // x19
v4 = (char *)operator new(0x260u);
cocos2d::CCLayer::CCLayer((__int64)v4);
*(_QWORD *)v4 = off_10094C830;
*((_QWORD *)v4 + 40) = off_10094CCC0;
*((_QWORD *)v4 + 41) = &off_10094CD30;
*((_QWORD *)v4 + 42) = off_10094CD48;
*((_QWORD *)v4 + 43) = &off_10094CD68;
*((_QWORD *)v4 + 44) = off_10094CD90;
*((_OWORD *)v4 + 27) = 0u;
*((_OWORD *)v4 + 28) = 0u;
*((_DWORD *)v4 + 116) = 1065353216;
*((_DWORD *)v4 + 118) = -1082130432;
*((_WORD *)v4 + 300) = 0;
*((_QWORD *)v4 + 60) = 0;
*(_QWORD *)(v4 + 485) = 0;
*(_OWORD *)(v4 + 504) = 0u;
*(_OWORD *)(v4 + 520) = 0u;
*(_OWORD *)(v4 + 536) = 0u;
*(_OWORD *)(v4 + 552) = 0u;
*(_OWORD *)(v4 + 564) = 0u;
*((_DWORD *)v4 + 151) = 1106247680;
if ( (unsigned int)DrawGridLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}