//
// cocos2d::CCScene::init from 0xd5e35c to 0xd5e3e0 (132 bytes)
//
// 39 xrefs:
// > cocos2d::CCTransitionScene::initWithDuration @ 0xd5f920
// > ??> @ 0x67eb8
// > ??> @ 0x151b120
// > ??> @ 0x151b4d0
// > ??> @ 0x151bc10
// > ??> @ 0x151bfb0
// > ??> @ 0x151c360
// > ??> @ 0x151c700
// > ??> @ 0x151caa0
// > ??> @ 0x151ce70
// > ??> @ 0x151d240
// > ??> @ 0x151d610
// > ??> @ 0x151d9e0
// > ??> @ 0x151ddb0
// > ??> @ 0x151e180
// > ??> @ 0x151e550
// > ??> @ 0x151e920
// > ??> @ 0x151ece0
// > ??> @ 0x151f090
// > ??> @ 0x151f440
// > ??> @ 0x151f7f0
// > ??> @ 0x151fba0
// > ??> @ 0x151ff50
// > ??> @ 0x1520300
// > ??> @ 0x15206b0
// > ??> @ 0x1520a50
// > ??> @ 0x1520e10
// > ??> @ 0x15211e0
// > ??> @ 0x15215b0
// > ??> @ 0x1521980
// > ??> @ 0x1521d50
// > ??> @ 0x1522120
// > ??> @ 0x15225a0
// > ??> @ 0x1522950
// > ??> @ 0x1522d00
// > ??> @ 0x15230b0
// > ??> @ 0x1523460
// > ??> @ 0x1523810
// > ??> @ 0x1523bc0
//
// 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 13:07:49 +0000
//
__int64 __fastcall cocos2d::CCScene::init(cocos2d::CCScene *this)
{
cocos2d::CCDirector *v2; // x0
void (__fastcall *v3)(cocos2d::CCScene *, __int64 *); // x21
__int64 v5; // [xsp+40h] [xbp+40h] BYREF
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
if ( !v2 )
return 0;
v3 = *(void (__fastcall **)(cocos2d::CCScene *, __int64 *))(*(_QWORD *)this + 320LL);
cocos2d::CCDirector::getWinSize(&v5, v2);
v3(this, &v5);
return 1;
}