//
// sub_100351720 from 0x100351720 to 0x1003517ad (141 bytes)
//
// 1 xrefs:
// > ??> @ 0x100915a90
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100351720(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
*(_QWORD *)(a1 - 320) = off_100915540;
*(_QWORD *)a1 = off_100915A90;
*(_QWORD *)(a1 + 8) = &off_100915B00;
*(_QWORD *)(a1 + 16) = off_100915B18;
*(_QWORD *)(a1 + 24) = off_100915B38;
*(_QWORD *)(a1 + 32) = off_100915B58;
*(_QWORD *)(a1 + 88) = off_100915B80;
v2 = *(cocos2d::CCObject **)(a1 + 120);
if ( v2 )
cocos2d::CCObject::release(v2);
sub_100054D90(a1 + 128, *(_QWORD **)(a1 + 136));
return cocos2d::CCLayerRGBA::dCCLayerRGBA(a1 - 320);
}