//
// showEditTextDialogJNI from 0x7ecb04 to 0x7ecba0 (156 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCEditBoxImplAndroid::openKeyboard @ 0x7b10b0
//
// 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 12:01:00 +0000
//
void (*__fastcall showEditTextDialogJNI(
const char *a1,
const char *a2,
int a3,
int a4,
int a5,
int a6,
void (*a7)(const char *, void *),
void *a8))(const char *, void *)
{
void (*result)(const char *, void *); // r0
const char *v11; // r1
jstring v12; // r5
_JNIEnv *v13[3]; // [sp+18h] [bp-10h] BYREF
result = a7;
if ( a2 )
{
off_D2F87C = (int (__fastcall *)(_DWORD, _DWORD))a7;
dword_D2F880 = (int)a8;
result = (void (*)(const char *, void *))cocos2d::JniHelper::getStaticMethodInfo(
v13,
"org/cocos2dx/lib/Cocos2dxHelper",
"showEditTextDialog",
"(Ljava/lang/String;Ljava/lang/String;IIII)V");
if ( result )
{
if ( a1 )
v11 = a1;
else
v11 = (const char *)&unk_B6B226;
v12 = _JNIEnv::NewStringUTF(v13[0], v11);
_JNIEnv::NewStringUTF(v13[0], a2);
_JNIEnv::CallStaticVoidMethod((int)v13[0], (int)v13[1], (int)v13[2], (int)v12);
_JNIEnv::DeleteLocalRef((int)v13[0]);
_JNIEnv::DeleteLocalRef((int)v13[0]);
return (void (*)(const char *, void *))_JNIEnv::DeleteLocalRef((int)v13[0]);
}
}
return result;
}