//
// sub_10046B7C4 from 0x10046b7c4 to 0x10046b83c (120 bytes)
//
// 1 xrefs:
// > sub_10046AA74 @ 0x10046ab0c
//
// 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 11:05:35 +0000
//
__int64 __fastcall sub_10046B7C4(__int64 result)
{
__int64 v1; // x8
__int64 v2; // x19
__int64 v3; // x0
const std::string::value_type *v4; // x1
v1 = *(_QWORD *)(result + 752);
if ( v1 )
{
v2 = result;
*(_BYTE *)(v1 + 134) ^= 1u;
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(result + 744) + 1072LL))(*(_QWORD *)(result + 744));
if ( *(_BYTE *)(*(_QWORD *)(v2 + 752) + 134LL) )
v4 = "Match: Any";
else
v4 = "Match: All";
ButtonSprite::setString(v3, v4);
sub_1001E45F4(*(unsigned int **)(v2 + 752));
return OptionsScrollLayer::setupList(v2, *(_QWORD *)(v2 + 672));
}
return result;
}