//
// cocos2d::CCArray::removeLastObject from 0xad4600 to 0xad4618 (24 bytes)
//
// 16 xrefs:
// > BoomScrollLayer::setupDynamicScrolling @ 0x56dba4
// > PlayLayer::removeCheckpoint @ 0x5d2de4
// > LevelEditorLayer::handleAction @ 0x672514
// > EditorUI::spriteFromObjectString @ 0x696d1c
// > EditorUI::ccTouchEnded @ 0x6c3100
// > GJGroundLayer::loadGroundSprites @ 0x7eb9f8
// > GJMGLayer::loadGroundSprites @ 0x7ecc20
// > MusicDownloadManager::limitDownloadedSongs @ 0x82fe5c
// > SFXSearchResult::updateObjects @ 0x832510
// > SFXSearchResult::updateObjects @ 0x832758
// > GJBaseGameLayer::claimParticle @ 0x867fb4
// > GJBaseGameLayer::claimCustomParticle @ 0x8a1620
// > cocos2d::CCDirector::popScene @ 0xad6f08
// > cocos2d::CCDirector::popSceneWithTransition @ 0xad6f98
// > cocos2d::CCDirector::popToSceneStackLevel @ 0xad70a0
// > ??> @ 0xafaa0
//
// 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
//
__int64 __fastcall cocos2d::CCArray::removeLastObject(cocos2d::CCArray *this, unsigned __int8 a2)
{
return cocos2d::ccArrayRemoveObjectAtIndex(
(cocos2d *)this->data,
(cocos2d::_ccArray *)(this->data->num - 1),
a2,
(bool)this->data);
}