//
// sub_140082560 from 0x140082560 to 0x1400825ad (77 bytes)
//
// 2 xrefs:
// > ??> @ 0x14053c530
// > ??> @ 0x1406c6a2c
//
// 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
//
cocos2d::CCApplication *__fastcall sub_140082560(cocos2d::CCApplication *Block, char a2)
{
Block->__vftable = (cocos2d::CCApplication_vtbl *)&AppDelegate::`vftable';
Block[2].m_startupScriptFilename.m_data.m_capacity = (std::size_t)&AppDelegate::`vftable';
cocos2d::CCApplication::~CCApplication(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}