// // FRequestProfilePage::onSelectMode from 0x5f2e78 to 0x5f2ef0 (120 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:29 +0000 // int __fastcall FRequestProfilePage::onSelectMode(FRequestProfilePage *this, cocos2d::CCObject *a2) { int result; // r0 int v4; // r6 int v5; // r5 int v6; // r0 const char *v7; // r1 result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v4 = result == 1; v5 = result == 2; if ( *((unsigned __int8 *)this + 540) != v4 || *((unsigned __int8 *)this + 541) != v5 ) { FRequestProfilePage::exitGlobalMode((int)this); v6 = *((_DWORD *)this + 143); *((_BYTE *)this + 540) = v4; *((_BYTE *)this + 541) = v5; if ( v4 ) { v7 = "Sent Requests"; } else if ( v5 ) { v7 = "Ignored Requests"; } else { v7 = "Friend Requests"; } (*(void (__fastcall **)(int, const char *))(*(_DWORD *)v6 + 464))(v6, v7); cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 143), 185.0, 0.8, 0.0); FRequestProfilePage::updateModeButtons((cocos2d::CCPoint **)this); return FRequestProfilePage::loadPage(this, nullptr); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source