//
// RateDemonLayer::onClosePopup from 0x61613c to 0x61615e (34 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'RateDemonLayer::onClosePopup @ 0x616162
//
// 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:54:55 +0000
//
int (__fastcall ***__fastcall RateDemonLayer::onClosePopup(RateDemonLayer *this, UploadActionPopup *a2))(_DWORD)
{
int (__fastcall ***result)(_DWORD); // r0
int v4; // r3
result = (int (__fastcall ***)(_DWORD))UploadActionPopup::closePopup(a2);
v4 = *((unsigned __int8 *)this + 528);
*((_DWORD *)this + 139) = 0;
if ( v4 )
return RateDemonLayer::onClose(this, nullptr);
return result;
}