//
// sub_1001CCF08 from 0x1001ccf08 to 0x1001ccfa8 (160 bytes)
//
// 1 xrefs:
// > sub_1001CA324 @ 0x1001ca394
//
// 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 11:00:21 +0000
//
__int64 __fastcall sub_1001CCF08(__int64 a1, int a2)
{
const char *v3; // x1
__int64 v4; // x20
*(_DWORD *)(a1 + 720) = a2;
if ( (unsigned int)(a2 - 1) > 3 )
v3 = "GJShopKeeper";
else
v3 = off_1008EEF88[a2 - 1];
v4 = sub_100399C98(a1, v3, 0, 0);
if ( (_DWORD)v4 )
{
*(_DWORD *)(a1 + 728) = (int)(float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 5.0) + 10.0);
*(_DWORD *)(a1 + 724) = (int)(float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + 1.0);
SpriteAnimationManager::stopAnimations(*(_QWORD *)(a1 + 648));
}
return v4;
}