//
// SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim from 0xb3c484 to 0xb3c6e0 (604 bytes)
//
// 27 xrefs:
// > SetupAreaAnimTriggerPopup::init @ 0xb3c948
// > SetupAreaAnimTriggerPopup::init @ 0xb3c9d4
// > SetupAreaAnimTriggerPopup::init @ 0xb3ca60
// > SetupAreaAnimTriggerPopup::init @ 0xb3cae4
// > SetupAreaAnimTriggerPopup::init @ 0xb3cb70
// > SetupAreaAnimTriggerPopup::init @ 0xb3cbf4
// > SetupAreaAnimTriggerPopup::init @ 0xb3cc7c
// > SetupAreaAnimTriggerPopup::init @ 0xb3cd00
// > SetupAreaAnimTriggerPopup::init @ 0xb3ce18
// > SetupAreaAnimTriggerPopup::init @ 0xb3d050
// > SetupAreaAnimTriggerPopup::init @ 0xb3d0f0
// > SetupAreaAnimTriggerPopup::init @ 0xb3d170
// > SetupAreaAnimTriggerPopup::init @ 0xb3d1fc
// > SetupAreaAnimTriggerPopup::init @ 0xb3d27c
// > SetupAreaAnimTriggerPopup::init @ 0xb3d304
// > SetupAreaAnimTriggerPopup::init @ 0xb3d388
// > SetupAreaAnimTriggerPopup::init @ 0xb3d418
// > SetupAreaAnimTriggerPopup::init @ 0xb3d49c
// > SetupAreaAnimTriggerPopup::init @ 0xb3d5a8
// > SetupAreaAnimTriggerPopup::init @ 0xb3d630
// > SetupAreaAnimTriggerPopup::init @ 0xb3d6b4
// > SetupAreaAnimTriggerPopup::init @ 0xb3d73c
// > SetupAreaAnimTriggerPopup::init @ 0xb3d7c0
// > SetupAreaAnimTriggerPopup::init @ 0xb3d890
// > SetupAreaAnimTriggerPopup::init @ 0xb3da20
// > SetupAreaAnimTriggerPopup::init @ 0xb3daa0
// > ??> @ 0x86d28
//
// 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:01:49 +0000
//
__int64 __fastcall SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim(
__int64 a1,
unsigned int a2,
char *a3,
cocos2d::CCPoint *a4,
char a5,
int a6,
int a7,
char a8,
float a9,
float a10,
float a11,
int a12,
int a13,
int a14)
{
char v18; // w0
__int64 v25; // x0
__int64 v26; // x1
const char *v27; // x1
__int64 v28; // x24
cocos2d::CCObject *v29; // x24
cocos2d::CCNode *v30; // x27
void (__fastcall *v31)(cocos2d::CCObject *, __int64 *); // x26
_BYTE v33[8]; // [xsp+C8h] [xbp+98h] BYREF
__int64 v34; // [xsp+D0h] [xbp+A0h] BYREF
__int64 v35; // [xsp+D8h] [xbp+A8h] BYREF
__int64 v36; // [xsp+E0h] [xbp+B0h] BYREF
__int64 v37; // [xsp+E8h] [xbp+B8h]
void *v38; // [xsp+F0h] [xbp+C0h]
v36 = 0;
v37 = 0;
v18 = *a3;
v38 = nullptr;
if ( (v18 & 1) != 0 )
{
std::string::__init(&v36, *((void **)a3 + 2), *((_QWORD *)a3 + 1));
}
else
{
v25 = *(_QWORD *)a3;
v26 = *((_QWORD *)a3 + 1);
v38 = *((void **)a3 + 2);
v36 = v25;
v37 = v26;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v35, a4);
SetupTriggerPopup::createValueControlAdvanced(
(cocos2d::CCArray **)a1,
a2,
(char *)&v36,
(__int64)&v35,
a5,
a6,
a7,
a8,
a9,
a10,
a11,
a12,
a13,
a14,
2,
0);
if ( (v36 & 1) != 0 )
operator delete(v38);
v28 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_resetBtn_001.png", v27);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v28 + 160LL))(v28, 0.8);
v29 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v28,
0,
a1,
(__int64)SetupAreaAnimTriggerPopup::onDeactivateAnimValue,
0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v29 + 72LL))(v29, a2);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v29);
v30 = *(cocos2d::CCNode **)(a1 + 552);
v31 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v29 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v33, 100.0, 0.0);
cocos2d::CCPoint::operator+(&v34, a4);
cocos2d::CCNode::convertToNodeSpace(&v35, v30, (const cocos2d::CCPoint *)&v34);
v31(v29, &v35);
SetupTriggerPopup::addObjectToPage((cocos2d::CCArray **)a1, v29, a12);
if ( a13 > 0 )
SetupTriggerPopup::addObjectToGroup((cocos2d::CCArray **)a1, v29, a13);
return _stack_chk_guard;
}