//
// ThreadOptionsPopup::onReport from 0xc6489c to 0xc64960 (196 bytes)
//
// 4 xrefs:
// > ??> @ 0xba9d0
// > ThreadOptionsPopup::init @ 0xc7f3a0
// > ThreadOptionsPopup::init @ 0xc7f44c
// > ??> @ 0x1545658
//
// 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 13:05:24 +0000
//
__int64 __fastcall ThreadOptionsPopup::onReport(ThreadOptionsPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
__int64 v4; // x21
_QWORD v6[2]; // [xsp+30h] [xbp+30h] BYREF
void *v7; // [xsp+40h] [xbp+40h]
v3 = *((_QWORD *)this + 129);
v6[0] = 0;
v6[1] = 0;
v7 = nullptr;
v4 = ReportPopup::createForThread(v3, 0, v6);
if ( (v6[0] & 1) != 0 )
operator delete(v7);
if ( v4 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
(*(void (__fastcall **)(ThreadOptionsPopup *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0);
return _stack_chk_guard;
}