//
// sub_1008A2D50 from 0x1008a2d50 to 0x1008a2da9 (89 bytes)
//
// 0 xrefs:
//
// 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 12:37:15 +0000
//
void __fastcall sub_1008A2D50(__int64 a1, char a2)
{
__int64 v2; // rdi
__int64 v4; // r14
__int64 v5; // rax
const char *v6; // rsi
__int64 v7; // rax
v2 = *(_QWORD *)(a1 + 808);
if ( v2 )
{
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1072LL))(v2);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = "followBtnOff_001.png";
if ( a2 )
v6 = "followBtnOn_001.png";
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v7);
}
}