//
// SetupCameraEdgePopup::onUnlockEdge from 0x100589080 to 0x100589113 (147 bytes)
//
// 1 xrefs:
// > SetupCameraEdgePopup::init @ 0x100588c44
//
// 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 SetupCameraEdgePopup::onUnlockEdge(SetupCameraEdgePopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // rdi
cocos2d::CCArray *m_gameObjects; // rdi
unsigned int v5; // r14d
EffectGameObject *v6; // rax
a1->m_targetID = 0;
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
EffectGameObject::setTargetID(m_gameObject, 0);
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) )
{
v5 = 0;
do
{
v6 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v5);
EffectGameObject::setTargetID(v6, a1->m_targetID);
++v5;
}
while ( v5 < (unsigned int)sub_100720070(a1->m_gameObjects) );
}
}
SetupCameraEdgePopup::updateTextInputLabel(a1);
SetupTriggerPopup::updateEditorLabel(a1);
}