//
// GJShopLayer::create from 0x61388c to 0x613950 (196 bytes)
//
// 1 xrefs:
// > GJShopLayer::scene @ 0x613966
//
// 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:54:54 +0000
//
int __fastcall GJShopLayer::create(GJItemIcon *a1)
{
int v2; // r4
int v3; // r3
int v4; // r0
v2 = operator new(0x17Cu);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_DWORD *)v2 = &off_CC4C58;
*(_DWORD *)(v2 + 264) = &off_CC4EAC;
*(_DWORD *)(v2 + 268) = &off_CC4EE4;
*(_DWORD *)(v2 + 272) = &off_CC4EF0;
*(_DWORD *)(v2 + 276) = &off_CC4F00;
*(_DWORD *)(v2 + 280) = &off_CC4F14;
*(_DWORD *)(v2 + 316) = &off_CC4F2C;
*(_DWORD *)(v2 + 320) = &off_CC4F38;
*(_DWORD *)(v2 + 324) = &off_CC4F44;
*(_BYTE *)(v2 + 328) = 0;
*(_DWORD *)(v2 + 332) = 0;
*(_DWORD *)(v2 + 336) = 0;
*(_DWORD *)(v2 + 340) = 0;
*(_DWORD *)(v2 + 344) = 0;
*(_DWORD *)(v2 + 348) = 0;
*(_DWORD *)(v2 + 352) = 0;
*(_DWORD *)(v2 + 356) = 0;
*(_DWORD *)(v2 + 360) = 0;
*(_BYTE *)(v2 + 364) = 0;
*(_BYTE *)(v2 + 365) = 0;
*(_DWORD *)(v2 + 368) = 0;
*(_DWORD *)(v2 + 372) = 0;
*(_DWORD *)(v2 + 376) = 0;
if ( GJShopLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
v3 = *(_DWORD *)v2;
v4 = v2;
v2 = 0;
(*(void (__fastcall **)(int))(v3 + 8))(v4);
}
return v2;
}