//
// cocos2d::JniHelper::getMethodInfo from 0xd81260 to 0xd81350 (240 bytes)
//
// 1 xrefs:
// > ??> @ 0xa1e60
//
// 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:08:10 +0000
//
__int64 __fastcall cocos2d::JniHelper::getMethodInfo(char **a1, cocos2d::JniHelper *a2, const char *a3, __int64 a4)
{
_JNIEnv *v7; // x2
__int64 ClassID; // x0
__int64 v10; // x21
__int64 v11; // x1
char *v12; // x2
char *v14; // [xsp+40h] [xbp+40h] BYREF
v14 = nullptr;
if ( (unsigned __int8)sub_D80B8C((cocos2d::JniHelper *)&v14) )
{
ClassID = cocos2d::JniHelper::getClassID(a2, v14, v7);
v10 = ClassID;
if ( ClassID )
{
v11 = (*(__int64 (__fastcall **)(char *, __int64, const char *, __int64))(*(_QWORD *)v14 + 264LL))(
v14,
ClassID,
a3,
a4);
if ( v11 )
{
v12 = v14;
a1[1] = (char *)v10;
*a1 = v12;
a1[2] = (char *)v11;
return 1;
}
__android_log_print(3, "JniHelper", "Failed to find method id of %s", a3);
}
}
return 0;
}