//
// localStorageFree from 0xaaedbc to 0xaaee68 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x366a8
//
// 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
//
__int64 __fastcall localStorageFree()
{
__int64 v1; // [xsp+20h] [xbp+20h] BYREF
__int64 v2; // [xsp+28h] [xbp+28h]
__int64 v3; // [xsp+30h] [xbp+30h]
if ( dword_1244BF8 )
{
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v1,
"org/cocos2dx/lib/Cocos2dxLocalStorage",
"destory",
"()V") )
{
_JNIEnv::CallStaticVoidMethod(v1, v2, v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 184LL))(v1, v2);
}
dword_1244BF8 = 0;
}
return _stack_chk_guard;
}