//
// sub_1004FBE84 from 0x1004fbe84 to 0x1004fbefc (120 bytes)
//
// 1 xrefs:
// > ThreadViewPopup::mountVirtualRow @ 0x100500a7c
//
// 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:06:51 +0000
//
void __fastcall sub_1004FBE84(__int64 a1, __int64 a2)
{
__int64 v3; // x0
__int64 v4; // x20
__int64 v5; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 640LL))(a2);
if ( v3 )
{
v4 = v3;
sub_1004FC014(__p, a1, *(unsigned int *)(v3 + 64));
v5 = sub_1004FBF18(v4, __p, a1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
if ( v7 < 0 )
operator delete(__p[0]);
}
}