// // SetupTouchTogglePopup::textChanged from 0x140464d70 to 0x140464e84 (276 bytes) // // 2 xrefs: // > @ 0x1405fa450 // > @ 0x1406db024 // // 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 SetupTouchTogglePopup::textChanged(SetupTouchTogglePopup *a1, CCTextInputNode *a2) { const char *v4; // rax size_t v5; // r8 const char *v6; // rcx int v7; // eax unsigned __int64 v8; // rdx char *v9; // rcx char *String[2]; // [rsp+28h] [rbp-30h] BYREF __int128 v11; // [rsp+38h] [rbp-20h] if ( !LOBYTE(a1->m_fSkewX) && a2->getTag(a2) == 3 ) { v4 = a2->m_textField->getString(&a2->m_textField->cocos2d::CCLabelProtocol); *(_OWORD *)String = 0; v5 = -1; v11 = 0; do ++v5; while ( v4[v5] ); sub_14003A930(String, v4, v5); v6 = (const char *)String; if ( *((_QWORD *)&v11 + 1) > 0xFu ) v6 = String[0]; v7 = atoi(v6); v8 = *((_QWORD *)&v11 + 1); *(_DWORD *)&a1->m_bUseChildIndex = v7; if ( v8 > 0xF ) { v9 = String[0]; if ( v8 + 1 >= 0x1000 ) { v9 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v9 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v9); } SetupCameraEdgePopup::updateTargetID((__int64)&a1[-1].m_pScriptTouchHandlerEntry); SetupTriggerPopup::updateEditorLabel((SetupTouchTogglePopup *)((char *)a1 - 632)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source