//
// sub_79F2A8 from 0x79f2a8 to 0x79f2e0 (56 bytes)
//
// 8 xrefs:
// > ReportPopup::createForThread @ 0x7a0e52
// > ReportPopup::createForUser @ 0x7a0f26
// > ReportPopup::createForLevel @ 0x7a102e
// > ReportPopup::createForList @ 0x7a1130
// > ReportPopup::createForSoundConfig @ 0x7a1234
// > ReportPopup::createForComment @ 0x7a13ce
// > ReportPopup::createForFriendRequest @ 0x7a1546
// > ReportPopup::createForMessage @ 0x7a1692
//
// 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:59:52 +0000
//
void __fastcall sub_79F2A8(char **a1, char **a2)
{
char *v3; // r0
char *v5; // r3
v3 = *a1;
if ( v3 )
{
while ( 1 )
{
v5 = a1[1];
if ( v3 == v5 )
break;
a1[1] = v5 - 4;
}
operator delete(v3);
a1[2] = nullptr;
a1[1] = nullptr;
*a1 = nullptr;
}
*a1 = *a2;
a1[1] = a2[1];
a1[2] = a2[2];
a2[2] = nullptr;
a2[1] = nullptr;
*a2 = nullptr;
}