//
// sub_100124E9C from 0x100124e9c to 0x100124f10 (116 bytes)
//
// 4 xrefs:
// > ConfigureHSVWidget::textInputShouldOffset @ 0x100124e64
// > sub_100124F10 @ 0x100124f2c
// > ConfigureHSVWidget::textInputReturn @ 0x100124f74
// > sub_100124FA0 @ 0x100124fb4
//
// 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:59:17 +0000
//
void *__fastcall sub_100124E9C(__int64 a1)
{
void *result; // x0
const void *v2; // x19
result = (void *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);
if ( result )
{
v2 = result;
do
{
result = __dynamic_cast(
v2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'FLAlertLayer,
0);
if ( result )
break;
result = (void *)(*(__int64 (__fastcall **)(const void *))(*(_QWORD *)v2 + 512LL))(v2);
v2 = result;
}
while ( result );
}
return result;
}