//
// InfoLayer::confirmReport from 0x906fe4 to 0x907054 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0xbe900
// > InfoLayer::init @ 0x90c544
// > ??> @ 0x15458b8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:57:09 +0000
//
ReportPopup *__fastcall InfoLayer::confirmReport(InfoLayer *this, cocos2d::CCObject *a2)
{
GJLevelList *v2; // x1
__int64 v3; // x0
ReportPopup *result; // x0
GJEditorSoundConfig *v5; // x1
__int64 v6; // x0
__int64 v7; // x0
v2 = *((GJLevelList **)this + 89);
if ( v2 )
{
v3 = ReportPopup::createForList(*((ReportPopup **)this + 89), v2);
return (ReportPopup *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}
else
{
v5 = *((GJEditorSoundConfig **)this + 90);
if ( v5 )
{
v6 = ReportPopup::createForSoundConfig(*((ReportPopup **)this + 90), v5);
return (ReportPopup *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
}
else
{
result = *((ReportPopup **)this + 87);
if ( result )
{
v7 = ReportPopup::createForLevel(result, nullptr);
return (ReportPopup *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7);
}
}
}
return result;
}