//
// localStorageRemoveItem from 0xaaf11c to 0xaaf1e8 (204 bytes)
//
// 1 xrefs:
// > ??> @ 0x4d610
//
// 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 localStorageRemoveItem(const char *a1)
{
__int64 v2; // x20
__int64 v4; // [xsp+20h] [xbp+20h] BYREF
__int64 v5; // [xsp+28h] [xbp+28h]
__int64 v6; // [xsp+30h] [xbp+30h]
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v4,
"org/cocos2dx/lib/Cocos2dxLocalStorage",
"removeItem",
"(Ljava/lang/String;)V") )
{
v2 = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v4 + 1336LL))(v4, a1);
_JNIEnv::CallStaticVoidMethod(v4, v5, v6, v2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 184LL))(v4, v2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 184LL))(v4, v5);
}
return _stack_chk_guard;
}