//
// sub_140424600 from 0x140424600 to 0x1404246e1 (225 bytes)
//
// 3 xrefs:
// > sub_140426FB4 @ 0x140426fbb
// > ??> @ 0x1405e6878
// > ??> @ 0x1406d96f8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_QWORD *__fastcall sub_140424600(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*Block = &SetupKeyframePopup::`vftable';
Block[40] = &SetupKeyframePopup::`vftable';
Block[41] = &SetupKeyframePopup::`vftable';
Block[42] = &SetupKeyframePopup::`vftable';
Block[43] = &SetupKeyframePopup::`vftable';
Block[44] = &SetupKeyframePopup::`vftable';
Block[51] = &SetupKeyframePopup::`vftable';
Block[54] = &SetupKeyframePopup::`vftable';
Block[79] = &SetupKeyframePopup::`vftable';
Block[80] = &SetupKeyframePopup::`vftable';
Block[81] = &SetupKeyframePopup::`vftable';
v4 = (cocos2d::CCObject *)Block[117];
if ( v4 )
cocos2d::CCObject::release(v4);
SetupTriggerPopup::dSetupTriggerPopup(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}