//
// ScrollableContentLayer::unmountRowSlot from 0x3f5ec0 to 0x3f5f3c (124 bytes)
//
// 4 xrefs:
// > ScrollableContentLayer::unmountAllRows @ 0x3f5f58
// > ScrollableContentLayer::remountVirtualRow @ 0x3f5fbe
// > ScrollableContentLayer::updateVirtualRows @ 0x3f6100
// > ScrollableContentLayer::updateVirtualRows @ 0x3f6116
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:17 +0000
//
void __fastcall ScrollableContentLayer::unmountRowSlot(ScrollableContentLayer *this, int a2, int a3)
{
int *v4; // r0
int *v5; // r5
int v6; // r3
int v7; // r0
_DWORD *v8; // r0
int *v9; // r3
_DWORD v10[2]; // [sp+4h] [bp-8h] BYREF
v10[1] = a3;
v10[0] = a2;
v4 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::find(
(int)this + 476,
v10);
v5 = v4;
if ( v4 != (int *)((char *)this + 480) )
{
v6 = v4[6];
v7 = *((_DWORD *)this + 112);
if ( *((_DWORD *)this + 110) == v6 )
*((_DWORD *)this + 110) = 0;
if ( v7 )
(*(void (__fastcall **)(int, _DWORD, int))(*(_DWORD *)v7 + 12))(v7, v10[0], v5[5]);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5[5] + 264))(v5[5], 1);
v8 = std::__tree_next *>(v5);
v9 = *((int **)this + 119);
--*((_DWORD *)this + 121);
if ( v9 == v5 )
*((_DWORD *)this + 119) = v8;
std::__tree_remove *>(*((int **)this + 120), v5);
operator delete(v5);
}
}