//
// SetupTriggerPopup::getValue from 0x14060f870 to 0x14060f984 (276 bytes)
//
// 141 xrefs:
// > AutoSaveSettingsLayer::getValue @ 0x14009bfd7
// > AutoBackupOptionsPopup::getValue @ 0x1400ce28e
// > EditorSFXActionConfigLayer::getValue @ 0x140184820
// > EditorSFXSettingsPopup::getValue @ 0x14018d801
// > GameSettingsLayer::getValue @ 0x1402c6eb5
// > GridSettingsLayer::getValue @ 0x1402c9478
// > MoveStepPopup::getValue @ 0x1402c9923
// > StartPosLayer::getValue @ 0x14045f3d8
// > ??> @ 0x14071b240
// > ??> @ 0x14071d660
// > ??> @ 0x14071e568
// > ??> @ 0x14071eb68
// > ??> @ 0x14071fe90
// > ??> @ 0x140722990
// > ??> @ 0x140723068
// > ??> @ 0x140723640
// > ??> @ 0x140723c20
// > ??> @ 0x1407291c8
// > ??> @ 0x140729f28
// > ??> @ 0x14072a768
// > ??> @ 0x14072b448
// > ??> @ 0x14072baf8
// > ??> @ 0x140730e20
// > ??> @ 0x140731550
// > ??> @ 0x140731c60
// > ??> @ 0x140732c98
// > ??> @ 0x140733208
// > ??> @ 0x140733fb0
// > ??> @ 0x140739048
// > ??> @ 0x1407472d8
// > ??> @ 0x140748cd8
// > ??> @ 0x140749428
// > ??> @ 0x140749aa0
// > ??> @ 0x14074a0f0
// > ??> @ 0x14074c758
// > ??> @ 0x14074dd98
// > ??> @ 0x14074e560
// > ??> @ 0x14074ee50
// > ??> @ 0x14074f430
// > ??> @ 0x14074fbc0
// > ??> @ 0x14076e450
// > ??> @ 0x140772d10
// > ??> @ 0x140775820
// > ??> @ 0x1407783e0
// > ??> @ 0x14077da50
// > ??> @ 0x14077e5e0
// > ??> @ 0x14077eb30
// > ??> @ 0x1407804d8
// > ??> @ 0x140786620
// > ??> @ 0x14078bae0
// > ??> @ 0x1407933e0
// > ??> @ 0x140793c28
// > ??> @ 0x1407944c8
// > ??> @ 0x140794da0
// > ??> @ 0x1407953e8
// > ??> @ 0x1407b5e48
// > ??> @ 0x1407d2ec8
// > ??> @ 0x1407e54e0
// > ??> @ 0x1407e62c8
// > ??> @ 0x1407e6840
// > ??> @ 0x1407e7df0
// > ??> @ 0x1407e8320
// > ??> @ 0x1407e8a80
// > ??> @ 0x1407e9198
// > ??> @ 0x1407e9960
// > ??> @ 0x1407ead90
// > ??> @ 0x1407eb2a8
// > ??> @ 0x1407eb760
// > ??> @ 0x1407ebea8
// > ??> @ 0x1407ec398
// > ??> @ 0x1407ec8c0
// > ??> @ 0x1407ece08
// > ??> @ 0x1407eda88
// > ??> @ 0x1407ee100
// > ??> @ 0x1407ee9a0
// > ??> @ 0x1407ef198
// > ??> @ 0x1407efe50
// > ??> @ 0x1407f0368
// > ??> @ 0x1407f0a28
// > ??> @ 0x1407f10f0
// > ??> @ 0x1407f1ad0
// > ??> @ 0x1407f2288
// > ??> @ 0x1407f2f98
// > ??> @ 0x1407f39a8
// > ??> @ 0x1407f4130
// > ??> @ 0x1407f4818
// > ??> @ 0x1407f57b8
// > ??> @ 0x1407f5ca0
// > ??> @ 0x1407f6358
// > ??> @ 0x1407f6810
// > ??> @ 0x1407f70e0
// > ??> @ 0x1407f7a28
// > ??> @ 0x1407f8168
// > ??> @ 0x1407f9a60
// > ??> @ 0x1407f9fb8
// > ??> @ 0x1407faa00
// > ??> @ 0x1407fb348
// > ??> @ 0x1407fb9d8
// > ??> @ 0x1407fc4b8
// > ??> @ 0x1407fcbf8
// > ??> @ 0x1407fd0c0
// > ??> @ 0x1407fdb50
// > ??> @ 0x1407feb00
// > ??> @ 0x1407ff010
// > ??> @ 0x1407ff4c8
// > ??> @ 0x1407ffe68
// > ??> @ 0x140801e78
// > ??> @ 0x1408025e0
// > ??> @ 0x140806230
// > ??> @ 0x140806c98
// > ??> @ 0x140807478
// > ??> @ 0x140807cd0
// > ??> @ 0x140808648
// > ??> @ 0x140808ea8
// > ??> @ 0x140809360
// > ??> @ 0x1408099a8
// > ??> @ 0x140809fd0
// > ??> @ 0x14080ab50
// > ??> @ 0x14080cae8
// > ??> @ 0x14080cfb8
// > ??> @ 0x14080d840
// > ??> @ 0x14080df88
// > ??> @ 0x14080e648
// > ??> @ 0x14080f358
// > ??> @ 0x14080f888
// > ??> @ 0x14080ff90
// > ??> @ 0x140810488
// > ??> @ 0x140810a00
// > ??> @ 0x1408110e0
// > ??> @ 0x140811598
// > ??> @ 0x140811bc8
// > ??> @ 0x140812118
// > ??> @ 0x140812748
// > ??> @ 0x140812c60
// > ??> @ 0x140813158
// > ??> @ 0x140813758
// > ??> @ 0x140813f08
// > ??> @ 0x1408145e8
// > ??> @ 0x140814c80
// > ??> @ 0x140815848
// > ??> @ 0x14092ff9c
//
// 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:35:15 +0000
//
double __fastcall SetupTriggerPopup::getValue(__int64 a1, int a2)
{
double result; // xmm0_8
struct cocos2d::CCObject *v5; // rax
cocos2d::CCArray *v6; // rcx
unsigned int v7; // edi
double v8; // xmm6_8
if ( a2 >= 0 )
{
if ( *(_QWORD *)(a1 + 680) )
{
SetupTriggerPopup::getTriggerValue(a1, (unsigned int)a2);
}
else
{
v6 = *(cocos2d::CCArray **)(a1 + 688);
if ( v6 && cocos2d::CCArray::count(v6) )
{
v7 = 0;
for ( *(_QWORD *)&v8 = 3351465856LL; v7 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); ++v7 )
{
cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v7);
SetupTriggerPopup::getTriggerValue(a1, (unsigned int)a2);
if ( *(float *)&v8 == -99999.0 )
{
v8 = result;
}
else if ( *(float *)&result != *(float *)&v8 )
{
return 0.0;
}
}
return v8;
}
else
{
return 0.0;
}
}
}
else
{
v5 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 832), a2);
if ( v5 )
*(_QWORD *)&result = *((unsigned int *)v5 + 14);
else
return 0.0;
}
return result;
}