// // ProfilePage::updateFollowButton from 0xa54240 to 0xa542b0 (112 bytes) // // 4 xrefs: // > ProfilePage::onFollow @ 0xa555a8 // > ProfilePage::followUserFailed @ 0xa55684 // > ProfilePage::loadPageFromUserInfo @ 0xa5afcc // > @ 0xe73a0 // // 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:06 +0000 // __int64 __fastcall ProfilePage::updateFollowButton(ProfilePage *this, unsigned __int8 a2) { int v2; // w20 __int64 result; // x0 cocos2d::CCSpriteFrameCache **v4; // x19 __int64 (__fastcall *v5)(cocos2d::CCSpriteFrameCache **, __int64); // x21 cocos2d::CCSpriteFrameCache *v6; // x0 const char *v7; // x1 __int64 v8; // x0 v2 = a2; result = *((_QWORD *)this + 101); if ( result ) { v4 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1072LL))(result); v5 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v4 + 145); v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v4); if ( v2 ) 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