//
// sub_7936BC from 0x7936bc to 0x793726 (106 bytes)
//
// 4 xrefs:
// > IDNameInput::initCore @ 0x7945e8
// > IDNameInput::initCore @ 0x7945f2
// > IDNameInput::setType @ 0x794a0c
// > IDNameInput::setType @ 0x794a16
//
// 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 11:59:43 +0000
//
int (__fastcall ***__fastcall sub_7936BC(int (__fastcall ***result)(void *, _DWORD *), int a2))(void *, _DWORD *)
{
void *v3; // r5
int (__fastcall *v4)(void *, _DWORD *); // r2
char v5; // r3
_DWORD v6[2]; // [sp+0h] [bp-8h] BYREF
v6[0] = result;
v6[1] = a2;
v3 = result;
if ( result )
{
((void (__fastcall *)(int (__fastcall ***)(void *, _DWORD *)))(*result)[132])(result);
result = (int (__fastcall ***)(void *, _DWORD *))(*(int (__fastcall **)(void *))(*(_DWORD *)v3 + 536))(v3);
if ( result )
{
result = (int (__fastcall ***)(void *, _DWORD *))_dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
{
v4 = **result;
if ( a2 )
v5 = -1;
else
v5 = -91;
LOBYTE(v6[0]) = v5;
BYTE1(v6[0]) = v5;
BYTE2(v6[0]) = v5;
return (int (__fastcall ***)(void *, _DWORD *))v4(result, v6);
}
}
}
return result;
}