// // SetupAnimationPopup::textChanged from 0x1003d58e0 to 0x1003d5aa3 (451 bytes) // // 2 xrefs: // > sub_1003D5AB0 @ 0x1003d5abc // > @ 0x10092f9c0 // // 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 SetupAnimationPopup::textChanged(SetupAnimationPopup *a1, CCTextInputNode *a2) { double v2; // xmm0_8 int m_animationID; // eax int m_targetID; // eax char *v6; // r14 int v7; // ecx int v8; // eax EffectGameObject *m_gameObject; // rcx cocos2d::CCArray *m_gameObjects; // rdi unsigned int v11; // r14d char *v12; // r14 int v13; // ecx int v14; // esi EffectGameObject *v15; // rdi cocos2d::CCArray *v16; // rdi unsigned int v17; // r14d EffectGameObject *v18; // rax _QWORD v19[2]; // [rsp-30h] [rbp-30h] BYREF char *v20; // [rsp-20h] [rbp-20h] if ( !a1->m_disableTextDelegate ) { if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) ) { CCTextInputNode::getString(v19, (__int64)a2, v2); if ( (v19[0] & 1) != 0 ) { v6 = v20; a1->m_animationID = atoi(v20); operator delete(v6); m_animationID = a1->m_animationID; } else { m_animationID = atoi((const char *)v19 + 1); } v7 = 0; if ( m_animationID > 0 ) v7 = m_animationID; v8 = 999; if ( v7 < 999 ) v8 = v7; a1->m_animationID = v8; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_animationID = v8; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v11 = 0; do *(_DWORD *)(sub_1007200C0(a1->m_gameObjects, v11++) + 1652) = a1->m_animationID; while ( v11 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } } else { CCTextInputNode::getString(v19, (__int64)a2, v2); if ( (v19[0] & 1) != 0 ) { v12 = v20; a1->m_targetID = atoi(v20); operator delete(v12); m_targetID = a1->m_targetID; } else { m_targetID = atoi((const char *)v19 + 1); } v13 = 0; if ( m_targetID > 0 ) v13 = m_targetID; v14 = 9999; if ( v13 < 9999 ) v14 = v13; a1->m_targetID = v14; v15 = a1->m_gameObject; if ( v15 ) { EffectGameObject::setTargetID(v15, v14); } else { v16 = a1->m_gameObjects; if ( v16 && (unsigned int)sub_100720070(v16) ) { v17 = 0; do { v18 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v17); EffectGameObject::setTargetID(v18, a1->m_targetID); ++v17; } while ( v17 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } SetupTriggerPopup::updateEditorLabel(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source