// // AccountReviewPopup::onDeleteFilterRow from 0x1400bc240 to 0x1400bc512 (722 bytes) // // 2 xrefs: // > AccountReviewPopup::buildFilterRows @ 0x1400b63f3 // > @ 0x140913898 // // 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=5 void __fastcall AccountReviewPopup::onDeleteFilterRow(__int64 a1, __int64 a2) { int v3; // eax unsigned int v4; // ebx cocos2d::CCArray *v5; // rcx struct cocos2d::CCObject *v6; // rsi const char *v7; // rax const char *v8; // r9 const char *v9; // r10 cocos2d::CCString *v10; // rax const char *CString; // rax size_t v12; // rbx size_t v13; // r8 void **v14; // rdx __int64 *v15; // rbx __int64 v16; // rax void *v17; // rcx void *v18; // [rsp+58h] [rbp-A0h] __int128 v19; // [rsp+60h] [rbp-98h] BYREF __int64 v20; // [rsp+70h] [rbp-88h] __int64 v21; // [rsp+78h] [rbp-80h] _BYTE v22[32]; // [rsp+80h] [rbp-78h] BYREF void *Block[2]; // [rsp+A0h] [rbp-58h] BYREF __int64 v24; // [rsp+B0h] [rbp-48h] unsigned __int64 v25; // [rsp+B8h] [rbp-40h] unsigned __int64 v26[4]; // [rsp+C0h] [rbp-38h] BYREF v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = v3; if ( *(_DWORD *)(a1 + 1324) == 1 ) { v5 = *(cocos2d::CCArray **)(a1 + 1400); if ( v5 ) { if ( v3 >= 0 && v3 < (int)cocos2d::CCArray::count(v5) ) { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1400), v4); *(_DWORD *)(a1 + 1340) = v4; GameToolbox::singleLineSnippet(v26, (__int64)v6 + 112, 0x3Cu); v7 = (const char *)ReportPopup::surfaceName(*((unsigned int *)v6 + 14)); v10 = cocos2d::CCString::createWithFormat( "Delete this %s by %s? Cannot be undone.\n\"%s\"", v7, v9, v8); CString = cocos2d::CCString::getCString(v10); *(_OWORD *)Block = 0; v24 = 0; v25 = 0; v12 = -1; v13 = -1; do ++v13; while ( CString[v13] ); sub_14003D230(Block, CString, v13); sub_14003D310((__int64)v26); v14 = Block; if ( v25 > 0xF ) v14 = (void **)Block[0]; v19 = 0; v20 = 0; v21 = 0; do ++v12; while ( *((_BYTE *)v14 + v12) ); sub_14003D230(&v19, v14, v12); v18 = operator new(0x298u); v15 = (__int64 *)FLAlertLayer::FLAlertLayer((__int64)v18); if ( v15 ) { v16 = sub_14003F4F0((__int64)v22, (__int64)&v19); if ( FLAlertLayer::init( (cocos2d::CCLayerColor *)v15, a1 + 800, "Delete Content", v16, (__int64)"Cancel", (__int64)"Delete", 380.0, 0, 0, 1.0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v15); } else { (*(void (__fastcall **)(__int64 *, __int64))(*v15 + 8))(v15, 1); v15 = nullptr; } } sub_14003D310((__int64)&v19); (*(void (__fastcall **)(__int64 *, __int64))(*v15 + 64))(v15, 6); ButtonSprite::updateBGImage(v15[77], "GJ_button_06.png"); (*(void (__fastcall **)(__int64 *))(*v15 + 1064))(v15); if ( v25 > 0xF ) { v17 = Block[0]; if ( v25 + 1 >= 0x1000 ) { v17 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v17 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v17); } } } } }