//
// sub_140132D90 from 0x140132d90 to 0x140132e47 (183 bytes)
//
// 3 xrefs:
// > sub_1401377CC @ 0x1401377d3
// > ??> @ 0x140555058
// > ??> @ 0x1406c9e7c
//
// 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_140132D90(_QWORD *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
*Block = &EndLevelLayer::`vftable';
Block[40] = &EndLevelLayer::`vftable';
Block[41] = &EndLevelLayer::`vftable';
Block[42] = &EndLevelLayer::`vftable';
Block[43] = &EndLevelLayer::`vftable';
Block[44] = &EndLevelLayer::`vftable';
Block[51] = &EndLevelLayer::`vftable';
Block[54] = &EndLevelLayer::`vftable';
v4 = (cocos2d::CCObject *)Block[79];
if ( v4 )
cocos2d::CCObject::release(v4);
GJDropDownLayer::dGJDropDownLayer(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}