// // PlatformToolbox::getClipboardString from 0x395564 to 0x39560a (166 bytes) // // 2 xrefs: // > CCTextInputMenu::init @ 0x3dbbea // > CCTextInputNode::pasteText @ 0x3e4146 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:46:19 +0000 // PlatformToolbox *__fastcall PlatformToolbox::getClipboardString(PlatformToolbox *this) { int v2; // r3 int v3; // r0 int v4; // r0 int v5; // r1 int v6; // r2 int v8[3]; // [sp+4h] [bp-20h] BYREF int v9; // [sp+10h] [bp-14h] BYREF int v10; // [sp+14h] [bp-10h] int v11; // [sp+18h] [bp-Ch] *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; if ( cocos2d::JniHelper::getStaticMethodInfo( v8, "com/customRobTop/BaseRobTopActivity", "getClipboardString", "()Ljava/lang/String;") ) { v3 = _JNIEnv::CallStaticObjectMethod(v8[0], v8[1], v8[2], v2); cocos2d::JniHelper::jstring2string(&v9, v3); if ( (*(_BYTE *)this & 1) != 0 ) { **((_BYTE **)this + 2) = 0; *((_DWORD *)this + 1) = 0; } else { *((_BYTE *)this + 1) = 0; *(_BYTE *)this = 0; } std::string::reserve((int *)this, 0); v4 = v9; v5 = v10; v6 = v11; v9 = 0; v10 = 0; v11 = 0; *(_DWORD *)this = v4; *((_DWORD *)this + 1) = v5; *((_DWORD *)this + 2) = v6; std::string::~string((int)&v9); _JNIEnv::DeleteLocalRef(v8[0]); _JNIEnv::DeleteLocalRef(v8[0]); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source