//
// sub_140388420 from 0x140388420 to 0x140388500 (224 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407710e8
// > ??> @ 0x140922c88
//
// This function is hookable on this platform (idp: pc, 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 11:31:08 +0000
//
char *__fastcall sub_140388420(char *Block, char a2)
{
qword_14090C000 = 0;
*(_QWORD *)Block = &GJKeybindManager::`vftable';
sub_14038D0E0(Block + 200, Block + 200, *(_QWORD *)(*((_QWORD *)Block + 25) + 8LL));
j_j_free(*((void **)Block + 25));
sub_14038D0E0(Block + 184, Block + 184, *(_QWORD *)(*((_QWORD *)Block + 23) + 8LL));
j_j_free(*((void **)Block + 23));
sub_14003EA90((_QWORD *)Block + 18);
sub_14038CE70(Block + 128);
sub_14003EA90((_QWORD *)Block + 10);
sub_14038CE70(Block + 64);
cocos2d::CCObject::~CCObject((cocos2d::CCObject *)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}