//
// sub_100026FC8 from 0x100026fc8 to 0x1000270e4 (284 bytes)
//
// 1 xrefs:
// > SetupOpacityPopup::init @ 0x100026cb0
//
// 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 10:57:26 +0000
//
__int64 __fastcall sub_100026FC8(__int64 a1, __int64 a2)
{
float Value; // s8
__int64 v5; // x0
float v6; // s0
float v7; // s1
__int64 result; // x0
__int64 v9; // x0
Value = SliderThumb::getValue(a2);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )
{
v5 = sub_1003065B0("%.02f", Value);
v6 = cocos2d::CCString::floatValue(v5);
*(float *)(a1 + 1056) = v6;
v7 = 0.0;
if ( v6 <= 0.02 || (v7 = 1.0, v6 >= 0.98) )
*(float *)(a1 + 1056) = v7;
sub_10002733C(a1);
return sub_1000271BC(a1);
}
else
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 1 )
{
v9 = sub_1003065B0("%.02f", (float)(Value * 10.0));
*(float *)(a1 + 1060) = cocos2d::CCString::floatValue(v9);
sub_1000273A8(a1);
return sub_1000270E4(a1, 1);
}
}
return result;
}