//
// sub_1004FBC14 from 0x1004fbc14 to 0x1004fbc88 (116 bytes)
//
// 2 xrefs:
// > ThreadViewPopup::threadMessagesFinished @ 0x1004fe438
// > sub_1004FE7E4 @ 0x1004fe8b4
//
// 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:06:50 +0000
//
unsigned int *__fastcall sub_1004FBC14(__int64 a1, __int64 a2)
{
int v2; // w20
__int64 v4; // x0
unsigned int *result; // x0
v2 = a2;
v4 = *(_QWORD *)(a1 + 1024);
if ( v4 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 344LL))(v4, a2);
result = cocos2d::CCNode::unschedule((unsigned int *)a1, (unsigned __int64)sub_1004FE8CC, 0);
if ( v2 )
return cocos2d::CCNode::schedule(a1, (unsigned __int64)sub_1004FE8CC, 0, 0.15);
return result;
}