//
// sub_100138AE4 from 0x100138ae4 to 0x100138b90 (172 bytes)
//
// 2 xrefs:
// > CommentCell::likedItem @ 0x100138aa8
// > sub_100138AB0 @ 0x100138adc
//
// 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 10:59:28 +0000
//
__int64 __fastcall sub_100138AE4(__int64 result)
{
__int64 v1; // x20
__int64 v2; // x19
int v3; // w21
__int64 v4; // x0
__int64 CString; // x0
__int64 v6; // x0
__int64 v7; // x19
__int64 v8; // x0
const char *v9; // x1
__int64 v10; // x1
v1 = *(_QWORD *)(result + 576);
if ( v1 )
{
v2 = result;
v3 = *(_DWORD *)(*(_QWORD *)(result + 584) + 376LL);
v4 = sub_1003065B0("%i", v3);
CString = cocos2d::CCString::getCString(v4);
v6 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 928LL))(v1, CString);
v7 = *(_QWORD *)(v2 + 568);
v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v6);
if ( v3 < 0 )
v9 = "GJ_dislikesIcon_001.png";
else
v9 = "GJ_likesIcon_001.png";
v10 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, v9);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1160LL))(v7, v10);
}
return result;
}