//
// RateStarsLayer::onClosePopup from 0x1403cae30 to 0x1403caeaf (127 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405cc8e8
// > ??> @ 0x1406d7afc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void RateStarsLayer::onClosePopup(RateStarsLayer *a1, UploadActionPopup *a2)
{
_BOOL8 v4; // rdx
bool v5; // zf
__int64 v6; // rdx
void (__fastcall ***v7)(_QWORD); // rcx
a2->setKeypadEnabled(a2, 0);
LOBYTE(v4) = 1;
a2->removeFromParentAndCleanup(a2, v4);
v5 = LOBYTE(a1->m_nTag) == 0;
*(_QWORD *)&a1->m_fScaleX = 0;
if ( !v5 )
{
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)&a1[-1].m_obAnchorPointInPoints.y + 976LL))(
&a1[-1].m_obAnchorPointInPoints.y,
0);
LOBYTE(v6) = 1;
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)&a1[-1].m_obAnchorPointInPoints.y + 504LL))(
&a1[-1].m_obAnchorPointInPoints.y,
v6);
v7 = *(void (__fastcall ****)(_QWORD))&a1->m_fSkewY;
if ( v7 )
(**v7)(v7);
}
}