//
// SetupTriggerPopup::updateLabel from 0xb1bff8 to 0xb1c040 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0xd62b8
//
// 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:34 +0000
//
__int64 __fastcall SetupTriggerPopup::updateLabel(__int64 a1, int a2, __int64 a3)
{
__int64 result; // x0
__int64 v4; // x1
result = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 824), a2);
if ( result )
{
v4 = a3 + 1;
if ( (*(_BYTE *)a3 & 1) != 0 )
v4 = *(_QWORD *)(a3 + 16);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 928LL))(result, v4);
}
return result;
}