// // VirtualKeyboardNode::onKey from 0xd089c8 to 0xd08ab0 (232 bytes) // // 3 xrefs: // > @ 0x6fdc0 // > VirtualKeyboardNode::buildKeys @ 0xd09368 // > @ 0x1542ca8 // // 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:06:57 +0000 // __int64 __fastcall VirtualKeyboardNode::onKey(VirtualKeyboardNode *this, cocos2d::CCObject *a2) { __int64 result; // x0 int v4; // w0 __int64 v5; // x20 unsigned __int8 v6; // w2 unsigned __int8 v7; // w1 unsigned __int8 v8; // w3 __int64 (__fastcall *v9)(__int64, _QWORD); // x19 unsigned int v10; // w0 result = 32LL * (*(int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); if ( *((_BYTE *)&unk_13FB510 + result + 28) ) { v4 = *(_DWORD *)((char *)&unk_13FB510 + result); if ( v4 == 16 ) { *((_BYTE *)this + 338) ^= 1u; return VirtualKeyboardNode::refreshModifierVisuals(this); } else if ( v4 == 17 ) { *((_BYTE *)this + 336) ^= 1u; return VirtualKeyboardNode::refreshModifierVisuals(this); } else { if ( v4 == 18 ) *((_BYTE *)this + 337) ^= 1u; return VirtualKeyboardNode::refreshModifierVisuals(this); } } else { v5 = *((_QWORD *)this + 40); if ( v5 ) { v6 = *((_BYTE *)this + 337); v7 = *((_BYTE *)this + 336); v8 = *((_BYTE *)this + 338); v9 = *(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 16LL); v10 = GJKeybindManager::encodeChord(*(_DWORD *)((char *)&unk_13FB510 + result), v7, v6, v8); return v9(v5, v10); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source