//
// sub_140460740 from 0x140460740 to 0x140460821 (225 bytes)
//
// 3 xrefs:
// > sub_140461D0C @ 0x140461d13
// > ??> @ 0x1405f8270
// > ??> @ 0x1406dadfc
//
// 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_140460740(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*Block = &SetupTeleportPopup::`vftable';
Block[40] = &SetupTeleportPopup::`vftable';
Block[41] = &SetupTeleportPopup::`vftable';
Block[42] = &SetupTeleportPopup::`vftable';
Block[43] = &SetupTeleportPopup::`vftable';
Block[44] = &SetupTeleportPopup::`vftable';
Block[51] = &SetupTeleportPopup::`vftable';
Block[54] = &SetupTeleportPopup::`vftable';
Block[79] = &SetupTeleportPopup::`vftable';
Block[80] = &SetupTeleportPopup::`vftable';
Block[81] = &SetupTeleportPopup::`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;
}