// // FriendsProfilePage::onToggleSortDir from 0xa5268c to 0xa52730 (164 bytes) // // 3 xrefs: // > @ 0xe34a0 // > FriendsProfilePage::init @ 0xa50d3c // > @ 0x1546d30 // // This function is hookable on this platform (idp: arm, 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 13:00:05 +0000 // ScrollableContentLayer *__fastcall FriendsProfilePage::onToggleSortDir(FriendsProfilePage *this, cocos2d::CCObject *a2) { cocos2d::CCSpriteFrameCache **v3; // x20 void (__fastcall *v4)(cocos2d::CCSpriteFrameCache **, __int64); // x21 cocos2d::CCSpriteFrameCache *v5; // x0 const char *v6; // x1 __int64 v7; // x0 __int64 v8; // x2 v3 = *((cocos2d::CCSpriteFrameCache ***)this + 120); *((_BYTE *)this + 968) ^= 1u; if ( v3 ) { v4 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v3 + 145); v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v3); if ( *((_BYTE *)this + 968) ) v6 = "edit_upBtn_001.png"; else v6 = "edit_downBtn_001.png"; v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6); v4(v3, v7); } FriendsProfilePage::updateSortLabel((__int64)this); FriendsProfilePage::sortUsers(this); v8 = *((_BYTE *)this + 880) >> 1; if ( (*((_BYTE *)this + 880) & 1) != 0 ) v8 = *((_QWORD *)this + 111); if ( v8 ) FriendsProfilePage::filterUsersWithQuery((__int64)this, (__int64)this + 880); return FriendsProfilePage::rebuildList((cocos2d::CCArray **)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source