//
// AccountReviewPopup::onJumpRow from 0x1400bbd40 to 0x1400bc023 (739 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::buildReportedRows @ 0x1400b5558
// > ??> @ 0x140913874
//
// 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 11:26:17 +0000
//
// Hidden C++ exception states: #wind=2
char __fastcall AccountReviewPopup::onJumpRow(__int64 a1, __int64 a2)
{
int v3; // r14d
int v4; // eax
signed int v5; // edi
cocos2d::CCArray *v6; // rcx
__int64 v7; // rcx
struct cocos2d::CCObject *v8; // rdi
__int64 v9; // rdx
__int64 *v10; // rdi
__int64 v11; // rbx
__int64 v12; // rdx
__int64 v13; // r8
__int64 v14; // rax
char *v15; // rsi
__int64 v16; // rax
char v17; // bl
void *v18; // rcx
__int64 ModView; // rax
_QWORD *v20; // rax
__int64 v21; // rbx
struct cocos2d::CCScene *v22; // rdi
__int64 v23; // rcx
__int64 v24; // rax
struct cocos2d::CCScene *v25; // rbx
__int64 v26; // rcx
cocos2d::CCDirector *v27; // rax
void *Block[2]; // [rsp+38h] [rbp-48h] BYREF
__m128i si128; // [rsp+48h] [rbp-38h]
__int128 v31; // [rsp+58h] [rbp-28h] BYREF
__int64 v32; // [rsp+68h] [rbp-18h]
__int64 v33; // [rsp+70h] [rbp-10h]
v3 = 0;
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v5 = v4;
if ( !*(_DWORD *)(a1 + 1324) )
{
v6 = *(cocos2d::CCArray **)(a1 + 1400);
if ( v6 )
{
if ( v4 >= 0 )
{
v4 = cocos2d::CCArray::count(v6);
if ( v5 < v4 )
{
v8 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1400), v5);
v9 = *((unsigned int *)v8 + 14);
if ( (_DWORD)v9 == 8 )
{
if ( *(int *)(a1 + 1348) <= 0 )
{
v15 = GJMessageThread::create();
*((_DWORD *)v15 + 14) = *((_DWORD *)v8 + 15);
if ( *((_QWORD *)v8 + 16) )
{
v16 = sub_14003F4F0((__int64)&v31, (__int64)v8 + 112);
v17 = 2;
}
else
{
*(_OWORD *)Block = 0;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836570);
strcpy((char *)Block, "Thread");
v16 = (__int64)Block;
v17 = 1;
}
sub_140059C40((__int64)(v15 + 96), v16);
if ( (v17 & 2) != 0 )
{
v17 &= ~2u;
sub_14003D310((__int64)&v31);
}
if ( (v17 & 1) != 0 && si128.m128i_i64[1] > 0xFuLL )
{
v18 = Block[0];
if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )
{
v18 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v18 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v18);
}
ModView = ThreadViewPopup::createModView(v15, *((_QWORD *)v8 + 23));
LOBYTE(v4) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)ModView + 1064LL))(ModView);
}
else
{
v10 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v7) + 272);
v31 = 0;
v32 = 0;
v33 = 15;
LOBYTE(v31) = 0;
si128.m128i_i64[0] = 14;
si128.m128i_i64[1] = 15;
qmemcpy(Block, "Still deleti", 12);
HIDWORD(Block[1]) = *(unsigned __int16 *)"ng";
v11 = *v10;
v14 = TextAlertPopup::create(Block, v12, v13, 150, &v31);
LOBYTE(v4) = (*(__int64 (__fastcall **)(__int64 *, __int64, __int64))(v11 + 456))(v10, v14, 1000);
}
}
else if ( (unsigned int)(v9 - 1) <= 1 )
{
v20 = GameToolbox::intToString(&v31, *((_DWORD *)v8 + 15));
v21 = GJSearchObject::create_1(0, v20);
LOBYTE(v3) = *((_DWORD *)v8 + 14) == 2;
*(_DWORD *)(v21 + 464) = v3;
v22 = (struct cocos2d::CCScene *)cocos2d::CCScene::create();
*(_QWORD *)(cocos2d::CCApplication::sharedApplication(v23) + 232) = v22;
v24 = LevelBrowserLayer::create(v21);
(*(void (__fastcall **)(struct cocos2d::CCScene *, __int64))(*(_QWORD *)v22 + 464LL))(v22, v24);
v25 = cocos2d::CCTransitionFade::create(0.5, v22);
v27 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v26);
LOBYTE(v4) = cocos2d::CCDirector::pushScene(v27, v25);
}
else
{
LOBYTE(v4) = AccountReviewPopup::jumpTo(v7, v9, *((unsigned int *)v8 + 16));
}
}
}
}
}
return v4;
}