//
// SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim from 0x6922b4 to 0x6923f2 (318 bytes)
//
// 26 xrefs:
// > SetupAreaAnimTriggerPopup::init @ 0x692572
// > SetupAreaAnimTriggerPopup::init @ 0x6925da
// > SetupAreaAnimTriggerPopup::init @ 0x692644
// > SetupAreaAnimTriggerPopup::init @ 0x6926aa
// > SetupAreaAnimTriggerPopup::init @ 0x692710
// > SetupAreaAnimTriggerPopup::init @ 0x692776
// > SetupAreaAnimTriggerPopup::init @ 0x692838
// > SetupAreaAnimTriggerPopup::init @ 0x69289c
// > SetupAreaAnimTriggerPopup::init @ 0x692972
// > SetupAreaAnimTriggerPopup::init @ 0x692b96
// > SetupAreaAnimTriggerPopup::init @ 0x692bf2
// > SetupAreaAnimTriggerPopup::init @ 0x692c52
// > SetupAreaAnimTriggerPopup::init @ 0x692cae
// > SetupAreaAnimTriggerPopup::init @ 0x692d74
// > SetupAreaAnimTriggerPopup::init @ 0x692dd2
// > SetupAreaAnimTriggerPopup::init @ 0x692e36
// > SetupAreaAnimTriggerPopup::init @ 0x692ede
// > SetupAreaAnimTriggerPopup::init @ 0x692f3a
// > SetupAreaAnimTriggerPopup::init @ 0x692f94
// > SetupAreaAnimTriggerPopup::init @ 0x692ff0
// > SetupAreaAnimTriggerPopup::init @ 0x693048
// > SetupAreaAnimTriggerPopup::init @ 0x6930a2
// > SetupAreaAnimTriggerPopup::init @ 0x6930fe
// > SetupAreaAnimTriggerPopup::init @ 0x693158
// > SetupAreaAnimTriggerPopup::init @ 0x6931b2
// > SetupAreaAnimTriggerPopup::init @ 0x693254
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:12 +0000
//
int __fastcall SetupAreaAnimTriggerPopup::createValueControlAdvancedAnim(
cocos2d::CCDictionary **a1,
int a2,
int a3,
cocos2d::CCPoint *a4,
int a5,
char a6,
int a7,
int a8,
char a9,
int a10,
int a11,
int a12,
int a13,
int a14)
{
int v17; // r0
int v18; // r1
int v19; // r2
const char *v20; // r1
int v21; // r5
cocos2d::CCObject *v22; // r5
const cocos2d::CCPoint *v23; // r11
int result; // r0
void (__fastcall *v25)(cocos2d::CCObject *, _BYTE *); // [sp+34h] [bp-38h]
_BYTE v26[8]; // [sp+38h] [bp-34h] BYREF
char v27[8]; // [sp+40h] [bp-2Ch] BYREF
_BYTE v28[8]; // [sp+48h] [bp-24h] BYREF
_DWORD v29[2]; // [sp+50h] [bp-1Ch] BYREF
int v30; // [sp+58h] [bp-14h] BYREF
int v31; // [sp+5Ch] [bp-10h]
int v32; // [sp+60h] [bp-Ch]
v30 = 0;
v31 = 0;
v32 = 0;
if ( (*(_BYTE *)a3 & 1) != 0 )
{
std::string::__init(&v30, *(const void **)(a3 + 8), *(_DWORD *)(a3 + 4));
}
else
{
v17 = *(_DWORD *)a3;
v18 = *(_DWORD *)(a3 + 4);
v19 = *(_DWORD *)(a3 + 8);
v30 = v17;
v31 = v18;
v32 = v19;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, a4);
SetupTriggerPopup::createValueControlAdvanced(
a1,
a2,
(unsigned __int8 *)&v30,
(int)v29,
a5,
a6,
a7,
a8,
a9,
a10,
a11,
a12,
a13,
a14,
2,
0);
std::string::~string((int)&v30);
v21 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_resetBtn_001.png", v20);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v21 + 80))(v21, 1061997773);
v29[0] = SetupAreaAnimTriggerPopup::onDeactivateAnimValue;
v29[1] = 0;
v22 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v21,
0,
(int)a1,
(int)SetupAreaAnimTriggerPopup::onDeactivateAnimValue,
0);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v22 + 36))(v22, a2);
(*(void (__fastcall **)(cocos2d::CCDictionary *, cocos2d::CCObject *))(*(_DWORD *)a1[111] + 228))(a1[111], v22);
v23 = a1[111];
v25 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v22 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v26, 100.0, 0.0);
cocos2d::CCPoint::operator+(v27, a4, v26);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v28, v23);
v25(v22, v28);
result = SetupTriggerPopup::addObjectToPage(a1, v22, a12);
if ( a13 > 0 )
return SetupTriggerPopup::addObjectToGroup(a1, v22, a13);
return result;
}