//
// GJBaseGameLayer::setStartPosObject from 0x100123730 to 0x100123773 (67 bytes)
//
// 4 xrefs:
// > PlayLayer::addObject @ 0x1000b2ad7
// > LevelEditorLayer::onPlaytest @ 0x1000f23f6
// > LevelEditorLayer::onPlaytest @ 0x1000f25f0
// > LevelEditorLayer::onStopPlaytest @ 0x1000f2ef0
//
// 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
//
void __fastcall GJBaseGameLayer::setStartPosObject(GJBaseGameLayer *a1, StartPosObject *a2)
{
StartPosObject *m_startPosObject; // rdi
m_startPosObject = a1->m_startPosObject;
if ( m_startPosObject != a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
m_startPosObject = a1->m_startPosObject;
}
if ( m_startPosObject )
cocos2d::CCObject::release(m_startPosObject);
a1->m_startPosObject = a2;
}
}