// // localStorageGetItem from 0xd20a28 to 0xd20b74 (332 bytes) // // 1 xrefs: // > @ 0x42880 // // 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 13:07:11 +0000 // __int64 __fastcall localStorageGetItem(const char *a1) { __int64 v3; // x21 __int64 v4; // x22 cocos2d::CCString *v5; // x20 __int64 v6; // [xsp+38h] [xbp+38h] BYREF __int64 v7; // [xsp+40h] [xbp+40h] __int64 v8; // [xsp+48h] [xbp+48h] void *v9[3]; // [xsp+50h] [xbp+50h] BYREF if ( !(unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo( &v6, "org/cocos2dx/lib/Cocos2dxLocalStorage", "getItem", "(Ljava/lang/String;)Ljava/lang/String;") ) return 0; v3 = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v6 + 1336LL))(v6, a1); v4 = _JNIEnv::CallStaticObjectMethod(v6, v7, v8, v3); cocos2d::JniHelper::jstring2string(v9); v5 = (cocos2d::CCString *)cocos2d::CCString::create(v9); if ( ((__int64)v9[0] & 1) != 0 ) operator delete(v9[2]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, v4); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, v3); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, v7); if ( v5 ) return cocos2d::CCString::getCString(v5); else return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source