// // ProfilePage::commentDeleteFailed from 0x1403c6a80 to 0x1403c6c76 (502 bytes) // // 2 xrefs: // > @ 0x1405cbc40 // > @ 0x1406d7928 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void ProfilePage::commentDeleteFailed(ProfilePage *a1, int a2, int a3) { GJAccountManager *v6; // rax unsigned int v7; // edi __int64 v8; // rax FLAlertLayer *v9; // rbx const char *p_m_fRotationX; // rbx GameLevelManager *v11; // rcx cocos2d::CCArray *StoredOnlineLevels; // rax cocos2d::CCArray *v13; // rbx struct cocos2d::CCObject *v14; // rax __int128 v15; // [rsp+58h] [rbp-50h] BYREF __int64 v16; // [rsp+68h] [rbp-40h] __int64 v17; // [rsp+70h] [rbp-38h] _BYTE v18[40]; // [rsp+78h] [rbp-30h] BYREF void *v19; // [rsp+C8h] [rbp+20h] v6 = GJAccountManager::sharedState(); if ( a2 == v6->m_accountID - v6->m_unkInt1 ) { v15 = 0; v7 = 0; *(_QWORD *)&v15 = sub_14003AA10(0x30u); v16 = 46; v17 = 47; strcpy((char *)v15, "Comment delete failed. Please try again later."); v8 = sub_14003BDB0((__int64)v18, (__int64)&v15); v9 = FLAlertLayer::create(0, (int)"Failed", v8, (__int64)"OK", 0, 1132068864, 0, 0, 1065353216); sub_14003A830((__int64)&v15); v9->show(v9); p_m_fRotationX = (const char *)&a1->m_fRotationX; if ( *(_QWORD *)&a1->m_obPosition.y > 0xFu ) p_m_fRotationX = *(const char **)p_m_fRotationX; v11 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v19 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v19); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v11 = (GameLevelManager *)qword_1406C2EC0; } StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v11, p_m_fRotationX); v13 = StoredOnlineLevels; if ( StoredOnlineLevels ) { if ( cocos2d::CCArray::count(StoredOnlineLevels) ) { while ( 1 ) { v14 = cocos2d::CCArray::objectAtIndex(v13, v7); if ( v14[6].m_uOrderOfArrival == a3 ) break; if ( ++v7 >= cocos2d::CCArray::count(v13) ) return; } LOBYTE(v14[7].m_uOrderOfArrival) = 0; ProfilePage::loadPage((ProfilePage *)((char *)a1 - 648), LODWORD(a1->m_sInverse.c)); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source