//
// cocos2d::CCPageTurn3D::create from 0x1002fc990 to 0x1002fca39 (169 bytes)
//
// 2 xrefs:
// > cocos2d::CCTransitionPageTurn::onEnter @ 0x1003c68aa
// > cocos2d::CCTransitionPageTurn::actionWithSize @ 0x1003c6988
//
// This function is hookable on this platform (idp: pc, 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:28:31 +0000
//
_OWORD *__fastcall cocos2d::CCPageTurn3D::create(__int64 a1)
{
_OWORD *v1; // rbx
v1 = operator new(0x68u);
*v1 = 0;
v1[1] = 0;
v1[2] = 0;
v1[3] = 0;
v1[4] = 0;
v1[5] = 0;
*((_QWORD *)v1 + 12) = 0;
cocos2d::CCAction::CCAction(v1);
*((_DWORD *)v1 + 20) = 0;
*(_QWORD *)v1 = off_100AE05B0;
sub_100278600((_OWORD *)((char *)v1 + 92));
*(_QWORD *)v1 = off_100B181C8;
if ( (unsigned __int8)cocos2d::CCGridAction::initWithDuration((__int64)v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
cocos2d::CCObject::release(v1);
return nullptr;
}
return v1;
}