//
// AccountReviewPopup::onJumpRow from 0x1009a19b0 to 0x1009a1b71 (449 bytes)
//
// 1 xrefs:
// > AccountReviewPopup::buildReportedRows @ 0x10099cff6
//
// This function is hookable on this platform (idp: pc, 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:39:17 +0000
//
__int64 __fastcall AccountReviewPopup::onJumpRow(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v4; // rdi
signed int v5; // ebx
__int64 v6; // rdi
__int64 v7; // rbx
__int64 v8; // rsi
char *v9; // r14
__int64 v10; // rbx
_BYTE *v11; // rax
char *v12; // rax
__int64 v13; // r15
__int64 v14; // r14
char v15; // al
unsigned __int64 v16; // rdx
__int64 v17; // r15
_BYTE *ModView; // rax
std::string v19; // [rsp+8h] [rbp-48h] BYREF
__int128 v20; // [rsp+20h] [rbp-30h] BYREF
__int64 v21; // [rsp+30h] [rbp-20h]
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( *(_DWORD *)(a1 + 1236) )
return result;
v4 = *(_QWORD *)(a1 + 1312);
if ( v4 == 0 || (int)result < 0 )
return result;
v5 = result;
result = sub_1007FEF90(v4);
if ( v5 >= (int)result )
return result;
v6 = *(_QWORD *)(a1 + 1312);
v7 = sub_1007FEFE0(v6, v5);
v8 = *(unsigned int *)(v7 + 56);
if ( (unsigned int)(v8 - 1) < 2 )
{
GameToolbox::intToString((size_t *)&v19, *(_DWORD *)(v7 + 60));
v9 = GJSearchObject::create_1(0, &v19);
if ( (*(_BYTE *)&v19.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v19.__r_.__value_.__l.__data_);
*((_DWORD *)v9 + 108) = *(_DWORD *)(v7 + 56) == 2;
v10 = cocos2d::CCDirector::sharedDirector();
v11 = LevelBrowserLayer::scene((__int64)v9, (__int64)&v19);
v12 = cocos2d::CCTransitionFade::create_1((__int64)v11, 0.5);
return cocos2d::CCDirector::pushScene(v10, (_UNKNOWN **)v12);
}
if ( (_DWORD)v8 != 8 )
return sub_1009A4070(v6, v8, *(unsigned int *)(v7 + 64));
if ( *(int *)(a1 + 1260) > 0 )
return sub_1009A2760("Still deleting");
v13 = sub_1009A3F60();
v14 = v13;
*(_DWORD *)(v13 + 56) = *(_DWORD *)(v7 + 60);
v15 = *(_BYTE *)(v7 + 112);
if ( (v15 & 1) != 0 )
{
v16 = *(_QWORD *)(v7 + 120);
if ( v16 )
{
sub_10001AD30(&v20, *(const void **)(v7 + 128), v16);
goto LABEL_19;
}
LABEL_18:
sub_10000E4E0(&v20, "Thread");
goto LABEL_19;
}
if ( !v15 )
goto LABEL_18;
v21 = *(_QWORD *)(v7 + 128);
v20 = *(_OWORD *)(v7 + 112);
LABEL_19:
v17 = v13 + 88;
if ( (*(_BYTE *)(v14 + 88) & 1) != 0 )
operator delete(*(void **)(v14 + 104));
*(_QWORD *)(v17 + 16) = v21;
*(_OWORD *)v17 = v20;
ModView = ThreadViewPopup::createModView(v14, *(_QWORD *)(v7 + 168));
return (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)ModView + 1312LL))(ModView);
}