// // GJKeybindManager::chordToString from 0x714b94 to 0x714d4c (440 bytes) // // 3 xrefs: // > KeybindingsLayer::actionsToShow @ 0x589abc // > KeybindingsLayer::buildContentForTab @ 0x58a2fe // > KeybindCapturePopup::updateChordDisplay @ 0x79a86a // // 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:57:46 +0000 // GJKeybindManager *__fastcall GJKeybindManager::chordToString(GJKeybindManager *this, int a2) { GJKeybindManager *v2; // r5 char *v4; // r1 GJKeybindManager *v5; // r0 int v6; // r0 int v7; // r0 *(_DWORD *)this = 0; v2 = this; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; if ( (a2 & 0x10000) != 0 ) this = (GJKeybindManager *)std::string::append(this, "Ctrl+"); if ( (a2 & 0x20000) != 0 ) this = (GJKeybindManager *)std::string::append(v2, "Alt+"); if ( (a2 & 0x40000) != 0 ) this = (GJKeybindManager *)std::string::append(v2, "Shift+"); if ( (unsigned int)(unsigned __int16)a2 - 1001 > 0x2B ) { v6 = cocos2d::CCDirector::sharedDirector(this); v7 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6); v4 = (char *)cocos2d::CCKeyboardDispatcher::keyToString(v7, (unsigned __int16)a2); v5 = v2; if ( !v4 ) v4 = "?"; } else { switch ( (__int16)a2 ) { case 1002: v4 = "C2A"; break; case 1003: v4 = "CB"; break; case 1004: v4 = "C2B"; break; case 1005: v4 = "CY"; break; case 1006: v4 = "C2Y"; break; case 1007: v4 = "CX"; break; case 1008: v4 = "C2X"; break; case 1009: v4 = "CStart"; break; case 1010: v4 = "C2Start"; break; case 1011: v4 = "CBack"; break; case 1012: v4 = "C2Back"; break; case 1013: v4 = "CRB"; break; case 1014: v4 = "C2RB"; break; case 1015: v4 = "CLB"; break; case 1016: v4 = "C2LB"; break; case 1017: v4 = "CRT"; break; case 1018: v4 = "C2RT"; break; case 1019: v4 = "CLT"; break; case 1020: v4 = "C2LT"; break; case 1021: v4 = "CUp"; break; case 1022: v4 = "C2Up"; break; case 1023: v4 = "CDown"; break; case 1024: v4 = "C2Down"; break; case 1025: v4 = "CLeft"; break; case 1026: v4 = "C2Left"; break; case 1027: v4 = "CRight"; break; case 1028: v4 = "C2Right"; break; case 1029: v4 = "CLUp"; break; case 1030: v4 = "C2LUp"; break; case 1031: v4 = "CLDown"; break; case 1032: v4 = "C2LDown"; break; case 1033: v4 = "CLLeft"; break; case 1034: v4 = "C2LLeft"; break; case 1035: v4 = "CLRight"; break; case 1036: v4 = "C2LRight"; break; case 1037: v4 = "CRUp"; break; case 1038: v4 = "C2RUp"; break; case 1039: v4 = "CRDown"; break; case 1040: v4 = "C2RDown"; break; case 1041: v4 = "CRLeft"; break; case 1042: v4 = "C2RLeft"; break; case 1043: v4 = "CRRight"; break; case 1044: v4 = "C2RRight"; break; default: v4 = "CA"; break; } v5 = v2; } std::string::append(v5, v4); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source