//
// cocos2d::JniHelper::getMethodInfo from 0x5e36f4 to 0x5e3766 (114 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall cocos2d::JniHelper::getMethodInfo(char **a1, char *a2, const char *a3, int a4)
{
int result; // r0
_JNIEnv *v9; // r2
int ClassID; // r7
int v11; // r0
char *v12; // r3
char *v13[2]; // [sp+0h] [bp-8h] BYREF
v13[1] = a2;
v13[0] = nullptr;
result = sub_5E3554((cocos2d::JniHelper *)v13);
if ( result )
{
ClassID = cocos2d::JniHelper::getClassID((cocos2d::JniHelper *)a2, v13[0], v9);
v11 = (*(int (__fastcall **)(char *, int, const char *, int))(*(_DWORD *)v13[0] + 132))(v13[0], ClassID, a3, a4);
if ( v11 )
{
v12 = v13[0];
a1[2] = (char *)v11;
a1[1] = (char *)ClassID;
*a1 = v12;
return 1;
}
else
{
_android_log_print(3, "JniHelper", "Failed to find method id of %s", a3);
return 0;
}
}
return result;
}