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