// // FriendsProfilePage::onToggleSortDir from 0x140214c40 to 0x140214d38 (248 bytes) // // 4 xrefs: // > FriendsProfilePage::init @ 0x1402140e3 // > @ 0x1408a5348 // > @ 0x1408a5380 // > @ 0x14091b674 // // 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:20 +0000 // void __fastcall FriendsProfilePage::onToggleSortDir(__int64 a1) { char v2; // cl __int64 *v3; // r14 __int64 v4; // rdi const char *v5; // rbx cocos2d::CCSpriteFrameCache *v6; // rax struct cocos2d::CCSpriteFrame *v7; // rax __int64 v8; // rcx const char *v9; // r8 const char *v10; // rdx __int64 v11; // rcx v2 = *(_BYTE *)(a1 + 976); v3 = *(__int64 **)(a1 + 968); *(_BYTE *)(a1 + 976) = v2 == 0; if ( v3 ) { v4 = *v3; v5 = "edit_downBtn_001.png"; if ( !v2 ) v5 = "edit_upBtn_001.png"; v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v5); (*(void (__fastcall **)(__int64 *, struct cocos2d::CCSpriteFrame *))(v4 + 1008))(v3, v7); } v8 = *(_QWORD *)(a1 + 944); if ( v8 ) { if ( *(_BYTE *)(a1 + 952) ) { v9 = "Old"; v10 = "New"; } else { v9 = "Z-A"; v10 = "A-Z"; } v11 = *(_QWORD *)(v8 + 632); if ( *(_BYTE *)(a1 + 976) ) v10 = v9; (**(void (__fastcall ***)(__int64, const char *, const char *))(v11 + 360))(v11 + 360, v10, v9); } FriendsProfilePage::sortUsers(a1); if ( *(_QWORD *)(a1 + 896) ) FriendsProfilePage::filterUsersWithQuery(a1); FriendsProfilePage::updateCountLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source