//
// ConfigureHSVWidget::textInputReturn from 0x10041e900 to 0x10041e97c (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b40298
//
// 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 12:30:14 +0000
//
__int64 __fastcall ConfigureHSVWidget::textInputReturn(__int64 a1, __int64 a2)
{
__int64 result; // rax
const void *v3; // r14
void *v4; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);
if ( result )
{
v3 = (const void *)result;
while ( 1 )
{
v4 = __dynamic_cast(
v3,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'FLAlertLayer,
0);
if ( v4 )
break;
result = (*(__int64 (__fastcall **)(const void *))(*(_QWORD *)v3 + 512LL))(v3);
v3 = (const void *)result;
if ( !result )
return result;
}
return (*(__int64 (__fastcall **)(void *, __int64))(*(_QWORD *)v4 + 1336LL))(v4, a2);
}
return result;
}