//
// ThreadViewPopup::unmountVirtualRow from 0x745c00 to 0x745c84 (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ThreadViewPopup::unmountVirtualRow @ 0x745c8c
//
// 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:58:42 +0000
//
int __fastcall ThreadViewPopup::unmountVirtualRow(int this, int a2, cocos2d::CCNode *a3)
{
int v3; // r6
int v5; // r5
int v6; // r8
int v7; // r4
int v8; // r10
int v9; // r4
int v10; // r3
int v11; // r3
int v12; // r9
int v13; // r4
v3 = this;
v5 = -1227133513 * ((*(_DWORD *)(this + 788) - *(_DWORD *)(this + 784)) >> 2) - 1;
v6 = 28 * v5;
while ( v5 >= 0 )
{
v7 = *(_DWORD *)(v3 + 784) + v6;
if ( *(_DWORD *)(v7 + 24) == a2 )
{
v8 = *(_DWORD *)(v3 + 788);
v9 = v7 + 8;
while ( 1 )
{
v10 = v9 - 8;
if ( v8 == v9 + 20 )
break;
v11 = *(_DWORD *)(v9 + 20);
v12 = v9;
v9 += 28;
*(_DWORD *)(v9 - 36) = v11;
*(_BYTE *)(v9 - 32) = *(_BYTE *)(v9 - 4);
this = cocos2d::CCRect::operator=(v12, v9);
*(_DWORD *)(v12 + 16) = *(_DWORD *)(v12 + 44);
}
while ( 1 )
{
v13 = *(_DWORD *)(v3 + 788);
if ( v10 == v13 )
break;
*(_DWORD *)(v3 + 788) = v13 - 28;
}
}
--v5;
v6 -= 28;
}
return this;
}