// // ProfilePage::updateFollowButton from 0x5f61dc to 0x5f6218 (60 bytes) // // 3 xrefs: // > ProfilePage::onFollow @ 0x5f6f96 // > ProfilePage::followUserFailed @ 0x5f6fe4 // > ProfilePage::loadPageFromUserInfo @ 0x5f8df6 // // 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:31 +0000 // int __fastcall ProfilePage::updateFollowButton(ProfilePage *this, int a2) { int result; // r0 cocos2d::CCSpriteFrameCache *v4; // r4 int (__fastcall *v5)(cocos2d::CCSpriteFrameCache *, int); // r5 cocos2d::CCSpriteFrameCache *v6; // r0 const char *v7; // r1 int v8; // r0 result = *((_DWORD *)this + 149); if ( result ) { v4 = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(int))(*(_DWORD *)result + 536))(result); v5 = *(int (__fastcall **)(cocos2d::CCSpriteFrameCache *, int))(*(_DWORD *)v4 + 580); v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v4); if ( a2 ) v7 = "followBtnOn_001.png"; else v7 = "followBtnOff_001.png"; v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v7); return v5(v4, v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source