//
// cocos2d::CCTransitionFade::onEnter from 0x1002660c0 to 0x1002661c4 (260 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009130f0
//
// 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:01:41 +0000
//
double __fastcall cocos2d::CCTransitionFade::onEnter(__int64 a1)
{
_WORD *v2; // x20
__int64 v3; // x20
float *v4; // x21
char v5; // w22
__int64 v6; // x1
__int64 v7; // x2
__int64 v8; // x3
__int64 v9; // x4
__int64 v10; // x5
__int64 v11; // x6
__int64 v12; // x7
__int64 v13; // x1
double result; // d0
cocos2d::CCTransitionScene::onEnter(a1);
v2 = cocos2d::CCLayerColor::create_1(a1 + 350);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 328) + 344LL))(*(_QWORD *)(a1 + 328), 0);
(*(void (__fastcall **)(__int64, _WORD *, __int64, __int64))(*(_QWORD *)a1 + 472LL))(a1, v2, 2, 4208917214LL);
v3 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 4208917214LL);
v4 = cocos2d::CCFadeIn::create(*(float *)(a1 + 344) * 0.5);
v5 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)cocos2d::CCTransitionScene::hideOutShowIn, 0);
cocos2d::CCFadeOut::create(*(float *)(a1 + 344) * 0.5);
cocos2d::CCCallFunc::create(a1, (__int64)cocos2d::CCTransitionScene::finish, 0);
v13 = sub_10021D420((__int64)v4, v6, v7, v8, v9, v10, v11, v12, v5);
*(_QWORD *)&result = cocos2d::CCNode::runAction(v3, v13).n128_u64[0];
return result;
}