// // VirtualKeyboardNode::onKey from 0x7a5254 to 0x7a52d8 (132 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 11:59:56 +0000 // int __fastcall VirtualKeyboardNode::onKey(VirtualKeyboardNode *this, cocos2d::CCObject *a2) { int result; // r0 int v4; // r3 int v5; // r5 int (__fastcall *v6)(int, int); // r6 int v7; // r0 result = 24 * (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); if ( *((_BYTE *)&unk_C74DB8 + result + 20) ) { v4 = *(_DWORD *)((char *)&unk_C74DB8 + result); switch ( v4 ) { case 16: *((_BYTE *)this + 274) ^= 1u; break; case 17: *((_BYTE *)this + 272) ^= 1u; break; case 18: *((_BYTE *)this + 273) ^= 1u; break; } return (int)VirtualKeyboardNode::refreshModifierVisuals(this); } else { v5 = *((_DWORD *)this + 66); if ( v5 ) { v6 = *(int (__fastcall **)(int, int))(*(_DWORD *)v5 + 8); v7 = GJKeybindManager::encodeChord( *(_DWORD *)((char *)&unk_C74DB8 + result), *((unsigned __int8 *)this + 272), *((unsigned __int8 *)this + 273), *((unsigned __int8 *)this + 274)); return v6(v5, v7); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source