//
// SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim from 0x1405a9d20 to 0x1405a9f22 (514 bytes)
//
// 27 xrefs:
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8801
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8892
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8932
// > SetupAreaAnimTriggerPopup::init @ 0x1405a89b3
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8a53
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8ad4
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8b6e
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8bf3
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8d49
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9100
// > SetupAreaAnimTriggerPopup::init @ 0x1405a92d2
// > SetupAreaAnimTriggerPopup::init @ 0x1405a937c
// > SetupAreaAnimTriggerPopup::init @ 0x1405a93fe
// > SetupAreaAnimTriggerPopup::init @ 0x1405a949e
// > SetupAreaAnimTriggerPopup::init @ 0x1405a951f
// > SetupAreaAnimTriggerPopup::init @ 0x1405a95d1
// > SetupAreaAnimTriggerPopup::init @ 0x1405a965a
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9703
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9789
// > SetupAreaAnimTriggerPopup::init @ 0x1405a982f
// > SetupAreaAnimTriggerPopup::init @ 0x1405a98b3
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9a0b
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9a9f
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9b25
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9bb7
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9c3b
// > ??> @ 0x14092d65c
//
// 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 11:34:40 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim(
__int64 a1,
unsigned int a2,
__int64 a3,
const struct cocos2d::CCPoint *a4,
int a5,
int a6,
int a7,
__int64 a8,
__int64 a9,
int a10,
int a11,
__int64 a12,
int a13)
{
int v17; // ebx
int v18; // eax
struct cocos2d::CCSprite *v19; // rax
int v20; // ebx
struct cocos2d::CCObject *v21; // r14
__int64 v22; // rax
__int64 v23; // rbx
__int64 v24; // rax
cocos2d::CCArray *PageContainer; // rax
cocos2d::CCArray *GroupContainer; // rax
_QWORD *v27; // [rsp+80h] [rbp-88h] BYREF
_BYTE v28[8]; // [rsp+88h] [rbp-80h] BYREF
_BYTE v29[8]; // [rsp+90h] [rbp-78h] BYREF
_QWORD v30[5]; // [rsp+98h] [rbp-70h] BYREF
v30[4] = a3;
v27 = v30;
v17 = sub_14003F4F0((__int64)v30, a3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v28, a4);
SetupTriggerPopup::createValueControlAdvanced(a1, a2, v17, v18, a5, 0, a7, 6, 0, a10, a11, 0, a13, 1, 2, 0);
v19 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_resetBtn_001.png");
v20 = (int)v19;
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v19 + 160LL))(v19);
v21 = CCMenuItemSpriteExtra::create(v20, 0, a1, (__int64)SetupAreaAnimTriggerPopup::onDeactivateAnimValue);
(*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v21 + 64LL))(v21, a2);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(
*(_QWORD *)(a1 + 552),
v21);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v28, 100.0, 0.0);
cocos2d::CCPoint::operator+(a4, &v27, v22);
v23 = *(_QWORD *)v21;
cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), v29, &v27);
(*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v23 + 184))(v21, v24);
PageContainer = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, 0);
cocos2d::CCArray::addObject(PageContainer, v21);
if ( a13 > 0 )
{
GroupContainer = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, (unsigned int)a13);
cocos2d::CCArray::addObject(GroupContainer, v21);
}
sub_14003D310(a3);
}