//
// cocos2d::CCTransitionShrinkGrow::onEnter from 0x1000a5a50 to 0x1000a5bca (378 bytes)
//
// 1 xrefs:
// > ??> @ 0x100abfcf8
//
// This function is hookable on this platform (idp: pc, 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 12:20:15 +0000
//
__int64 __fastcall cocos2d::CCTransitionShrinkGrow::onEnter(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v4; // rax
__int64 v5; // rax
__int64 v6; // r14
__int64 v7; // r14
__int64 v8; // r14
__int64 v9; // rax
__int64 v10; // r15
__int64 v11; // rax
__int64 v12; // r15
int v13; // eax
int v14; // ecx
int v15; // r8d
int v16; // r9d
__int64 v17; // rax
_QWORD v19[4]; // [rsp+0h] [rbp-20h] BYREF
v19[0] = v2;
cocos2d::CCNode::onEnter(a1);
v4 = cocos2d::CCDirector::sharedDirector(a1, a2);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);
cocos2d::CCTouchDispatcher::setDispatchEvents(v5, 0);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 336) + 728LL))(*(_QWORD *)(a1 + 336));
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 704LL))(*(_QWORD *)(a1 + 328));
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 328) + 160LL))(*(_QWORD *)(a1 + 328), 0.001);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 336) + 160LL))(*(_QWORD *)(a1 + 336), 1.0);
v6 = *(_QWORD *)(a1 + 328);
sub_100278250(v19, 0.66666669, 0.5);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v6 + 296LL))(v6, v19);
v7 = *(_QWORD *)(a1 + 336);
sub_100278250(v19, 0.33333334, 0.5);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v7 + 296LL))(v7, v19);
v8 = cocos2d::CCScaleTo::create_1(*(float *)(a1 + 344), 0.0099999998);
v9 = cocos2d::CCScaleTo::create_1(*(float *)(a1 + 344), 1.0);
v10 = *(_QWORD *)(a1 + 328);
v11 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 912LL))(a1, v9);
cocos2d::CCNode::runAction(v10, v11);
v12 = *(_QWORD *)(a1 + 336);
LODWORD(v8) = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 912LL))(a1, v8);
v13 = cocos2d::CCCallFunc::create(a1, cocos2d::CCTransitionScene::finish, 0);
v17 = sub_10039EB60(v8, v13, 0, v14, v15, v16);
return cocos2d::CCNode::runAction(v12, v17);
}