//
// GJSmartTemplate::getPrefab from 0xb11500 to 0xb11624 (292 bytes)
//
// 1 xrefs:
// > ??> @ 0x5a238
//
// 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 13:01:28 +0000
//
__int64 __fastcall GJSmartTemplate::getPrefab(
_QWORD *a1,
const cocos2d::CCPoint *a2,
_DWORD *a3,
_DWORD *a4,
_DWORD *a5,
_DWORD *a6,
_DWORD *a7,
_DWORD *a8,
_DWORD *a9,
_DWORD *a10,
_DWORD *a11)
{
__int64 Prefab; // x20
_BYTE v20[8]; // [xsp+98h] [xbp+88h] BYREF
__int64 v21[3]; // [xsp+A0h] [xbp+90h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, a2);
GJSmartTemplate::keyFromNeighbors((const cocos2d::CCPoint *)v20, a3, a4, a5, a6, a7, a8, a9, v21, a10, a11);
Prefab = GJSmartTemplate::getPrefab(a1, (char *)v21, 0, 0);
if ( (v21[0] & 1) != 0 )
operator delete((void *)v21[2]);
return Prefab;
}