//
// EditorSFXManager::setPlayMode from 0x77fffa to 0x780024 (42 bytes)
//
// 1 xrefs:
// > EditorSFXActionConfigLayer::onToggleMode @ 0x77bde0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:59:27 +0000
//
cocos2d::CCObject **__fastcall EditorSFXManager::setPlayMode(EditorSFXManager *this, unsigned int a2, unsigned int a3)
{
cocos2d::CCObject **result; // r0
cocos2d::CCObject *v5; // r2
cocos2d::CCObject *v6; // r3
result = EditorSFXManager::getOrCreateBinding(this, a2, a3);
v5 = result[6];
result[1] = (cocos2d::CCObject *)a3;
result[2] = nullptr;
while ( 1 )
{
v6 = result[7];
if ( v5 == v6 )
break;
result[7] = (cocos2d::CCObject *)((char *)v6 - 4);
}
result[9] = nullptr;
result[10] = (cocos2d::CCObject *)-1;
result[11] = nullptr;
return result;
}