//
// showDialogJNI from 0xb0e2d8 to 0xb0e400 (296 bytes)
//
// 2 xrefs:
// > cocos2d::CCMessageBox @ 0xb0b050
// > ??> @ 0x2f790
//
// 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 showDialogJNI(const char *a1, char *a2)
{
char *v4; // x1
__int64 v5; // x21
__int64 v6; // x20
__int64 v8; // [xsp+30h] [xbp+30h] BYREF
__int64 v9; // [xsp+38h] [xbp+38h]
__int64 v10; // [xsp+40h] [xbp+40h]
if ( a1
&& (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v8,
"org/cocos2dx/lib/Cocos2dxHelper",
"showDialog",
"(Ljava/lang/String;Ljava/lang/String;)V") )
{
v4 = a2;
if ( !a2 )
v4 = &byte_F288A0;
v5 = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v8 + 1336LL))(v8, v4);
v6 = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v8 + 1336LL))(v8, a1);
_JNIEnv::CallStaticVoidMethod(v8, v9, v10, v5, v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL))(v8, v5);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL))(v8, v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL))(v8, v9);
}
return _stack_chk_guard;
}