//
// sub_1000C705C from 0x1000c705c to 0x1000c7110 (180 bytes)
//
// 3 xrefs:
// > GJThreadCell::loadFromThread @ 0x100130190
// > ThreadViewPopup::layoutTitleRow @ 0x1004f9174
// > ThreadOptionsPopup::init @ 0x10050cac0
//
// 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:58:49 +0000
//
__int64 __fastcall sub_1000C705C(__int64 a1, float a2)
{
int v2; // w8
const char *v4; // x0
__int64 v5; // x19
__int64 v6; // x0
float v8; // [xsp+8h] [xbp-28h] BYREF
v2 = *(_DWORD *)(a1 + 288);
if ( (unsigned int)(v2 - 1) > 1 )
return 0;
if ( v2 == 2 )
v4 = "modBadge_02_001.png";
else
v4 = "modBadge_01_001.png";
v5 = cocos2d::CCSprite::createWithSpriteFrameName(v4);
sub_1000262BC(&v8, 0.0, 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 296LL))(v5, &v8);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 328LL))(v5);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, a2 / *(float *)(v6 + 4));
return v5;
}