//
// sub_1007200E0 from 0x1007200e0 to 0x1007200fe (30 bytes)
//
// 46 xrefs:
// > EditorUI::spriteFromObjectString @ 0x100034170
// > EditorUI::createLoop @ 0x1000458f7
// > EditorUI::createLoop @ 0x100045a36
// > EditorUI::ccTouchEnded @ 0x1000502d3
// > CCTextInputNode::updateBlinkLabelToChar @ 0x10009ef87
// > PlayLayer::createCheckpoint @ 0x1000bb569
// > PlayLayer::getLastCheckpoint @ 0x1000bc976
// > PlayLayer::removeCheckpoint @ 0x1000bd209
// > PlayLayer::removeCheckpoint @ 0x1000bd289
// > PlayLayer::loadLastCheckpoint @ 0x1000bd2f1
// > PlayLayer::resetLevel @ 0x1000be931
// > LevelEditorLayer::handleAction @ 0x1000e2bb9
// > LevelEditorLayer::handleAction @ 0x1000e2fa8
// > GJBaseGameLayer::claimParticle @ 0x10015d89b
// > GJBaseGameLayer::claimCustomParticle @ 0x10015e1e0
// > cocos2d::CCSpriteBatchNode::highestAtlasIndexInChild @ 0x1001779e2
// > cocos2d::CCSpriteBatchNode::atlasIndexForChild @ 0x100177b36
// > cocos2d::CCSpriteBatchNode::atlasIndexForChild @ 0x100177b92
// > BoomScrollLayer::setupDynamicScrolling @ 0x1003a58ab
// > BoomScrollLayer::setupDynamicScrolling @ 0x1003a5992
// > BoomScrollLayer::setupDynamicScrolling @ 0x1003a59a1
// > BoomScrollLayer::setupDynamicScrolling @ 0x1003a5a73
// > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x10042d910
// > cocos2d::extension::CCTableView::scrollViewDidScroll @ 0x10042d952
// > cocos2d::CCDirector::replaceScene @ 0x1004842de
// > cocos2d::CCDirector::checkSceneReference @ 0x100484387
// > cocos2d::CCDirector::popScene @ 0x1004843c7
// > cocos2d::CCDirector::popSceneWithTransition @ 0x100484472
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x100484590
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x1004845dd
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x100484605
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce069
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce15b
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce407
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cecc2
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cecd6
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cfc17
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cfcbf
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cfcd0
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cfd6c
// > cocos2d::CCTMXMapInfo::endElement @ 0x1004d0f05
// > MusicDownloadManager::limitDownloadedSongs @ 0x10058e94d
// > SFXSearchResult::updateObjects @ 0x10059ad9f
// > SFXSearchResult::updateObjects @ 0x10059afb7
// > GJGroundLayer::loadGroundSprites @ 0x1005eb2b3
// > GJMGLayer::loadGroundSprites @ 0x1005ec353
//
// 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 sub_1007200E0(__int64 a1)
{
__int64 v1; // rcx
v1 = *(_QWORD *)(a1 + 56);
if ( *(_DWORD *)v1 )
return *(_QWORD *)(*(_QWORD *)(v1 + 16) + 8LL * (unsigned int)(*(_DWORD *)v1 - 1));
else
return 0;
}