//
// cocos2d::CCArray::lastObject from 0x5c1ec8 to 0x5c1edc (20 bytes)
//
// 36 xrefs:
// > BoomScrollLayer::setupDynamicScrolling @ 0x2e21a0
// > BoomScrollLayer::setupDynamicScrolling @ 0x2e2210
// > BoomScrollLayer::setupDynamicScrolling @ 0x2e221a
// > BoomScrollLayer::setupDynamicScrolling @ 0x2e22a4
// > CCTextInputNode::updateBlinkLabelToChar @ 0x2fa698
// > PlayLayer::getLastCheckpoint @ 0x312c12
// > PlayLayer::removeCheckpoint @ 0x31497a
// > PlayLayer::removeCheckpoint @ 0x3149d0
// > PlayLayer::loadLastCheckpoint @ 0x31f6ee
// > LevelEditorLayer::handleAction @ 0x3716a8
// > LevelEditorLayer::handleAction @ 0x371910
// > EditorUI::spriteFromObjectString @ 0x387b3a
// > EditorUI::createLoop @ 0x39dd2a
// > EditorUI::ccTouchEnded @ 0x3a58b2
// > GJGroundLayer::loadGroundSprites @ 0x4343b4
// > GJMGLayer::loadGroundSprites @ 0x434f60
// > MusicDownloadManager::limitDownloadedSongs @ 0x459a34
// > SFXSearchResult::updateObjects @ 0x45d83e
// > SFXSearchResult::updateObjects @ 0x45da20
// > GJBaseGameLayer::claimParticle @ 0x477f28
// > GJBaseGameLayer::claimCustomParticle @ 0x489bfe
// > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x5aa13e
// > cocos2d::CCDirector::checkSceneReference @ 0x5c36ac
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x5c3844
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x5c388c
// > cocos2d::CCSpriteBatchNode::highestAtlasIndexInChild @ 0x5e7efa
// > cocos2d::CCTMXMapInfo::endElement @ 0x5f8fd4
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f9460
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f96ae
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f990a
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f9b02
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f9b72
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f9bb6
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f9bc0
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f9c48
// > cocos2d::CCTMXMapInfo::startElement @ 0x5f9c54
//
// 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
//
unsigned int __fastcall cocos2d::CCArray::lastObject(cocos2d::CCArray *this)
{
cocos2d::ccArray *data; // r3
unsigned int result; // r0
data = this->data;
result = data->num;
if ( data->num )
return DWORD1073741823(data->arr[result]);
return result;
}