//
// cocos2d::CCScene::init from 0x1002dd4ac to 0x1002dd504 (88 bytes)
//
// 5 xrefs:
// > cocos2d::CCTransitionScene::initWithDuration @ 0x100265a04
// > ??> @ 0x100912710
// > ??> @ 0x100912ab0
// > ??> @ 0x100912e80
// > ??> @ 0x100922878
//
// This function is hookable on this platform (idp: arm, 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 11:02:45 +0000
//
bool __fastcall cocos2d::CCScene::init(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x19
double WinSize; // d0
__int64 v6; // [xsp+8h] [xbp-18h] BYREF
v2 = cocos2d::CCDirector::sharedDirector();
v3 = v2;
if ( v2 )
{
WinSize = cocos2d::CCDirector::getWinSize(v2, &v6);
(*(void (__fastcall **)(__int64, __int64 *, double))(*(_QWORD *)a1 + 320LL))(a1, &v6, WinSize);
}
return v3 != 0;
}