//
// GJBaseGameLayer::getActiveOrderSpawnObjects from 0x10012ca30 to 0x10012ca57 (39 bytes)
//
// 0 xrefs:
//
// 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::CCArray *__fastcall GJBaseGameLayer::getActiveOrderSpawnObjects(GJBaseGameLayer *a1)
{
intptr_t m_currentChannel; // rsi
cocos2d::CCDictionary *m_spawnObjects; // rdi
cocos2d::CCArray *result; // rax
m_currentChannel = a1->m_gameState.m_currentChannel;
m_spawnObjects = a1->m_spawnObjects;
result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(m_spawnObjects, m_currentChannel);
if ( !result )
return (cocos2d::CCArray *)sub_10071F9E0(m_spawnObjects, m_currentChannel);
return result;
}