//
// SetupGameplayOffsetPopup::onDefaultValues from 0x1405d78b0 to 0x1405d795a (170 bytes)
//
// 2 xrefs:
// > SetupGameplayOffsetPopup::init @ 0x1405d77b0
// > ??> @ 0x14092ea9c
//
// 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:57 +0000
//
double __fastcall SetupGameplayOffsetPopup::onDefaultValues(cocos2d::CCDictionary **a1)
{
__int64 v2; // r8
__int64 v3; // r8
if ( cocos2d::CCDictionary::objectForKey(a1[94], 28) )
{
LOBYTE(v2) = 1;
(*((void (__fastcall **)(cocos2d::CCDictionary **, __int64, __int64))*a1 + 144))(a1, 28, v2);
}
else
{
SetupTriggerPopup::updateValueControls(a1, 28);
}
SetupTriggerPopup::valueChanged(a1, 28);
if ( cocos2d::CCDictionary::objectForKey(a1[94], 29) )
{
LOBYTE(v3) = 1;
(*((void (__fastcall **)(cocos2d::CCDictionary **, __int64, __int64))*a1 + 144))(a1, 29, v3);
}
else
{
SetupTriggerPopup::updateValueControls(a1, 29);
}
return SetupTriggerPopup::valueChanged(a1, 29);
}