//
// InfoLayer::confirmReport from 0x42f694 to 0x42f77e (234 bytes)
//
// 0 xrefs:
//
// 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 InfoLayer::confirmReport(InfoLayer *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // r6
int ID; // r0
char *v5; // r1
int v6; // r9
FLAlertLayer *v7; // r5
void *v8; // [sp+10h] [bp-14h] BYREF
char *v9; // [sp+14h] [bp-10h] BYREF
_BYTE v10[4]; // [sp+18h] [bp-Ch] BYREF
v3 = GameLevelManager::sharedState();
ID = InfoLayer::getID(a1);
if ( !GameLevelManager::hasReportedLevel(v3, ID) )
{
v8 = &unk_ACDDA8;
v9 = (char *)&unk_ACDDA8;
if ( a1->m_mode == User )
{
sub_7753D4((int)&v8, "Report List");
v5 = "Do you want to report this list for breaking the upload guidelines found in the editor? Valid"
" reasons include hateful, abusive, or otherwise inappropriate content, as well as hacks, cheats, or exploits.";
}
else
{
sub_7753D4((int)&v8, "Report Level");
v5 = "Do you want to report this level for breaking the upload guidelines found in the editor? Vali"
"d reasons include hateful, abusive, or otherwise inappropriate content, as well as hacks, cheats, or exploits.";
}
sub_7753D4((int)&v9, v5);
v6 = (int)v8;
sub_776584((int)v10, v9);
v7 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, v6, (int)v10, (int)"NO", (int)"YES", 380.0);
sub_774008(v10);
v7->setTag(v7, 2);
v7->show(v7);
sub_774008(&v9);
sub_774008(&v8);
}
}