// // SetupTouchTogglePopup::textChanged from 0x1002b9940 to 0x1002b9a33 (243 bytes) // // 2 xrefs: // > sub_1002B9A40 @ 0x1002b9a4c // > @ 0x100905578 // // 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 SetupTouchTogglePopup::textChanged(SetupTouchTogglePopup *a1, CCTextInputNode *a2) { double v2; // xmm0_8 int m_groupID; // eax char *v5; // r14 int v6; // ecx int v7; // esi EffectGameObject *m_gameObject; // rdi cocos2d::CCArray *m_gameObjects; // rdi unsigned int v10; // r14d EffectGameObject *v11; // rax _QWORD v12[2]; // [rsp-30h] [rbp-30h] BYREF char *v13; // [rsp-20h] [rbp-20h] if ( !a1->m_disableTextDelegate && ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 3 ) { CCTextInputNode::getString(v12, (__int64)a2, v2); if ( (v12[0] & 1) != 0 ) { v5 = v13; a1->m_groupID = atoi(v13); operator delete(v5); m_groupID = a1->m_groupID; } else { m_groupID = atoi((const char *)v12 + 1); } v6 = 0; if ( m_groupID > 0 ) v6 = m_groupID; v7 = 9999; if ( v6 < 9999 ) v7 = v6; a1->m_groupID = v7; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { EffectGameObject::setTargetID(m_gameObject, v7); } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v10 = 0; do { v11 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v10); EffectGameObject::setTargetID(v11, a1->m_groupID); ++v10; } while ( v10 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } SetupTriggerPopup::updateEditorLabel(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source