//
// sub_10056EAE0 from 0x10056eae0 to 0x10056eb1d (61 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 sub_10056EAE0()
{
cocos2d::CCUserDefault *v0; // rax
_WORD v1[8]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
v0 = cocos2d::CCUserDefault::sharedUserDefault();
v1[0] = 0;
cocos2d::CCUserDefault::setStringForKey(v0, "current-version-code", v1);
if ( (v1[0] & 1) != 0 )
operator delete(__p);
}