//
// GJUINode::resetState from 0x1004c8cc0 to 0x1004c8d34 (116 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJUINode::resetState(GJUINode *a1)
{
__int64 v1; // rax
cocos2d::CCSprite *m_firstSprite; // rdi
__int64 v4; // rdi
_QWORD v5[2]; // [rsp+0h] [rbp-10h] BYREF
v5[0] = v1;
a1->m_touchID = -1;
*(_WORD *)&a1->m_swiping = 0;
m_firstSprite = a1->m_firstSprite;
if ( m_firstSprite )
{
BYTE6(v5[0]) = -1;
WORD2(v5[0]) = -1;
((void (__fastcall *)(cocos2d::CCSprite *, char *))m_firstSprite->setColor)(m_firstSprite, (char *)v5 + 4);
}
v4 = *((_QWORD *)&a1->m_firstSprite + !a1->m_modeB);
if ( v4 )
{
BYTE2(v5[0]) = -1;
LOWORD(v5[0]) = -1;
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v4 + 944LL))(v4, v5);
}
}