//
// sub_140457A00 from 0x140457a00 to 0x140457b05 (261 bytes)
//
// 3 xrefs:
// > sub_14045FD18 @ 0x14045fd1f
// > ??> @ 0x140797498
// > ??> @ 0x140927bc0
//
// 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:32:29 +0000
//
_QWORD *__fastcall sub_140457A00(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
cocos2d::CCObject *v6; // rcx
*Block = &StartPosLayer::`vftable';
Block[40] = &StartPosLayer::`vftable';
Block[41] = &StartPosLayer::`vftable';
Block[42] = &StartPosLayer::`vftable';
Block[43] = &StartPosLayer::`vftable';
Block[44] = &StartPosLayer::`vftable';
Block[51] = &StartPosLayer::`vftable';
Block[54] = &StartPosLayer::`vftable';
Block[68] = &StartPosLayer::`vftable';
Block[83] = &StartPosLayer::`vftable';
Block[84] = &StartPosLayer::`vftable';
v4 = (cocos2d::CCObject *)Block[125];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = (cocos2d::CCObject *)Block[127];
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = (cocos2d::CCObject *)Block[128];
if ( v6 )
cocos2d::CCObject::release(v6);
SetupTriggerPopup::dSetupTriggerPopup(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}