//
// showEditTextDialogJNI from 0xb0e400 to 0xb0e574 (372 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCEditBoxImplAndroid::openKeyboard @ 0xaaa5f0
// > ??> @ 0x7e378
//
// 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 showEditTextDialogJNI(
char *a1,
const char *a2,
unsigned int a3,
unsigned int a4,
unsigned int a5,
int a6,
void (*a7)(const char *, void *),
__int64 a8)
{
char *v14; // x1
__int64 v15; // x21
__int64 v16; // x20
__int64 v18; // [xsp+60h] [xbp+50h] BYREF
__int64 v19; // [xsp+68h] [xbp+58h]
__int64 v20; // [xsp+70h] [xbp+60h]
if ( a2 )
{
off_1245900 = (__int64 (__fastcall *)(_QWORD, _QWORD))a7;
qword_1245908 = a8;
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v18,
"org/cocos2dx/lib/Cocos2dxHelper",
"showEditTextDialog",
"(Ljava/lang/String;Ljava/lang/String;IIII)V") )
{
v14 = a1;
if ( !a1 )
v14 = &byte_F288A0;
v15 = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v18 + 1336LL))(v18, v14);
v16 = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v18 + 1336LL))(v18, a2);
_JNIEnv::CallStaticVoidMethod(v18, v19, v20, v15, v16, a3, a4, a5, a6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v18 + 184LL))(v18, v15);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v18 + 184LL))(v18, v16);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v18 + 184LL))(v18, v19);
}
}
return _stack_chk_guard;
}