// // FriendsProfilePage::onToggleSortDir from 0x5f4d80 to 0x5f4dea (106 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:30 +0000 // void __fastcall FriendsProfilePage::onToggleSortDir(FriendsProfilePage *this, cocos2d::CCObject *a2) { int v3; // r5 void (__fastcall *v4)(int, int); // r6 cocos2d::CCSpriteFrameCache *v5; // r0 const char *v6; // r1 int v7; // r0 int v8; // r3 int v9; // r3 v3 = *((_DWORD *)this + 172); *((_BYTE *)this + 692) ^= 1u; if ( v3 ) { v4 = *(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 580); v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(this); if ( *((_BYTE *)this + 692) ) v6 = "edit_upBtn_001.png"; else v6 = "edit_downBtn_001.png"; v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6); v4(v3, v7); } FriendsProfilePage::updateSortLabel((int)this); FriendsProfilePage::sortUsers(this); v8 = *((unsigned __int8 *)this + 648); if ( (v8 & 1) != 0 ) v9 = *((_DWORD *)this + 163); else v9 = v8 >> 1; if ( v9 ) FriendsProfilePage::filterUsersWithQuery((int)this, (unsigned __int8 *)this + 648); FriendsProfilePage::rebuildList((cocos2d::CCArray **)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source