// // AccountReviewPopup::confirmDeleteSelected from 0x1400b9440 to 0x1400b96bf (639 bytes) // // 3 xrefs: // > AccountReviewPopup::onDeleteSelected @ 0x1400b96c0 // > AccountReviewPopup::reviewChoicePicked @ 0x1400ba8b2 // > @ 0x140913790 // // 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:16 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall AccountReviewPopup::confirmDeleteSelected(__int64 a1) { int v2; // eax const char *v3; // r8 const char *v4; // rcx const char *v5; // r9 cocos2d::CCString *v6; // rax const char *CString; // rax size_t v8; // rbx size_t v9; // r8 void **v10; // rdx __int64 *v11; // rbx __int64 v12; // rax void *v13; // rcx void *v14; // [rsp+58h] [rbp-80h] __int128 v15; // [rsp+60h] [rbp-78h] BYREF __int64 v16; // [rsp+70h] [rbp-68h] __int64 v17; // [rsp+78h] [rbp-60h] _BYTE v18[32]; // [rsp+80h] [rbp-58h] BYREF void *Block[2]; // [rsp+A0h] [rbp-38h] BYREF __int64 v20; // [rsp+B0h] [rbp-28h] unsigned __int64 v21; // [rsp+B8h] [rbp-20h] v2 = AccountReviewPopup::selectedDeletable(a1); if ( v2 > 0 ) { v3 = "item"; if ( *(_DWORD *)(a1 + 1324) == 1 ) v3 = "comment"; v4 = (const char *)(a1 + 848); if ( *(_QWORD *)(a1 + 872) > 0xFu ) v4 = *(const char **)v4; v5 = (const char *)&unk_14070D03C; if ( v2 == 1 ) v5 = &byte_1406ED6E0; v6 = cocos2d::CCString::createWithFormat( "Delete %i selected %s%s by %s?\nThe text is removed from the server. Cannot be undone.", v2, v3, v5, v4); CString = cocos2d::CCString::getCString(v6); *(_OWORD *)Block = 0; v20 = 0; v21 = 0; v8 = -1; v9 = -1; do ++v9; while ( CString[v9] ); sub_14003D230(Block, CString, v9); v10 = Block; if ( v21 > 0xF ) v10 = (void **)Block[0]; v15 = 0; v16 = 0; v17 = 0; do ++v8; while ( *((_BYTE *)v10 + v8) ); sub_14003D230(&v15, v10, v8); v14 = operator new(0x298u); v11 = (__int64 *)FLAlertLayer::FLAlertLayer((__int64)v14); if ( v11 ) { v12 = sub_14003F4F0((__int64)v18, (__int64)&v15); if ( FLAlertLayer::init( (cocos2d::CCLayerColor *)v11, a1 + 800, "Delete Content", v12, (__int64)"Cancel", (__int64)"Delete", 380.0, 0, 0, 1.0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11); } else { (*(void (__fastcall **)(__int64 *, __int64))(*v11 + 8))(v11, 1); v11 = nullptr; } } sub_14003D310((__int64)&v15); (*(void (__fastcall **)(__int64 *, __int64))(*v11 + 64))(v11, 4); ButtonSprite::updateBGImage(v11[77], "GJ_button_06.png"); (*(void (__fastcall **)(__int64 *))(*v11 + 1064))(v11); if ( v21 > 0xF ) { v13 = Block[0]; if ( v21 + 1 >= 0x1000 ) { v13 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v13 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v13); } } }