// // FRequestProfilePage::onSelectMode from 0x140211a20 to 0x140211b3c (284 bytes) // // 3 xrefs: // > FRequestProfilePage::updateModeButtons @ 0x140211bd0 // > FRequestProfilePage::updateModeButtons @ 0x140211d81 // > @ 0x14091b530 // // 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:28:19 +0000 // __int64 __fastcall FRequestProfilePage::onSelectMode(__int64 a1, __int64 a2) { __int64 result; // rax int v4; // esi bool v5; // r14 char v6; // bp cocos2d::CCObject *v7; // rcx const char *v8; // rdx result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = result; v5 = (_DWORD)result == 1; v6 = (_DWORD)result == 2; if ( ((_DWORD)result == 1) != *(_BYTE *)(a1 + 704) || v6 != *(_BYTE *)(a1 + 705) ) { if ( *(_BYTE *)(a1 + 896) ) { v7 = *(cocos2d::CCObject **)(a1 + 888); *(_BYTE *)(a1 + 896) = 0; if ( v7 ) { cocos2d::CCObject::release(v7); *(_QWORD *)(a1 + 888) = 0; } (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 336LL))(*(_QWORD *)(a1 + 792), 0); } *(_BYTE *)(a1 + 704) = v5; *(_BYTE *)(a1 + 705) = v6; if ( v4 == 1 ) { v8 = "Sent Requests"; } else { v8 = "Friend Requests"; if ( v4 == 2 ) v8 = "Ignored Requests"; } (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 784) + 360LL))(*(_QWORD *)(a1 + 784) + 360LL, v8); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 784), 185.0, 0.80000001, 0.0); FRequestProfilePage::updateModeButtons(a1); return FRequestProfilePage::loadPage(a1, 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source