//
// cocos2d::CCTransitionPageTurn::actionWithSize from 0x180056ac0 to 0x180056aef (47 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2898
//
// 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
//
struct cocos2d::CCReverseTime *__fastcall cocos2d::CCTransitionPageTurn::actionWithSize(
cocos2d::CCTransitionPageTurn *this,
const struct cocos2d::CCSize *a2)
{
float v2; // xmm0_4
struct cocos2d::CCPageTurn3D *v3; // rax
v2 = *((float *)this + 86);
if ( !*((_BYTE *)this + 352) )
return (struct cocos2d::CCReverseTime *)cocos2d::CCPageTurn3D::create(v2, a2);
v3 = cocos2d::CCPageTurn3D::create(v2, a2);
return cocos2d::CCReverseTime::create(v3);
}