//
// sub_1004736E0 from 0x1004736e0 to 0x100473708 (40 bytes)
//
// 1 xrefs:
// > EditorWindowPopup::onClose @ 0x1004dac10
//
// 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:39 +0000
//
__int64 __fastcall sub_1004736E0(__int64 result, __int64 a2)
{
__int64 *v3; // x1
v3 = (__int64 *)(result + 592);
while ( 1 )
{
v3 = (__int64 *)*v3;
if ( !v3 )
break;
if ( v3[3] == a2 )
return sub_100019534((_QWORD *)(result + 576), v3);
}
return result;
}