//
// cocos2d::CCPageTurn3D::create from 0x7c09b8 to 0x7c0a14 (92 bytes)
//
// 2 xrefs:
// > cocos2d::CCTransitionPageTurn::actionWithSize @ 0x7d8790
// > cocos2d::CCTransitionPageTurn::actionWithSize @ 0x7d87a0
//
// 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 12:00:20 +0000
//
_DWORD *__fastcall cocos2d::CCPageTurn3D::create(
cocos2d::CCPageTurn3D *this,
const cocos2d::CCSize *a2,
const cocos2d::CCSize *a3)
{
_DWORD *v5; // r4
v5 = (_DWORD *)operator new(0x58u);
memset(v5, 0, 0x58u);
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5);
v5[17] = 0;
*v5 = &off_D02E88;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 20));
*v5 = &off_D04238;
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v5, *(float *)&this, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v5);
return nullptr;
}
return v5;
}