// // CreateParticlePopup::textChanged from 0x1404328d0 to 0x140432a17 (327 bytes) // // 4 xrefs: // > @ 0x1405e9770 // > @ 0x1406a1464 // > @ 0x1406a1474 // > @ 0x1406d9bd8 // // 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 CreateParticlePopup::textChanged(CreateParticlePopup *a1, CCTextInputNode *a2) { const char *v4; // rax size_t v5; // r8 const char *v6; // rcx float v7; // xmm6_4 char *v8; // rcx gjParticleValue v9; // eax gjParticleValue v10; // eax char *String[2]; // [rsp+28h] [rbp-40h] BYREF __int128 v12; // [rsp+38h] [rbp-30h] if ( !LOBYTE(a1->m_uOrderOfArrival) ) { v4 = a2->m_textField->getString(&a2->m_textField->cocos2d::CCLabelProtocol); *(_OWORD *)String = 0; v5 = -1; v12 = 0; do ++v5; while ( v4[v5] ); sub_14003A930(String, v4, v5); v6 = (const char *)String; if ( *((_QWORD *)&v12 + 1) > 0xFu ) v6 = String[0]; v7 = atof(v6); if ( *((_QWORD *)&v12 + 1) > 0xFu ) { v8 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v12 + 1) + 1LL) >= 0x1000 ) { v8 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v8 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } if ( a2->getTag(a2) == 5 ) v7 = fmaxf(1.0, v7); v9 = a2->getTag(a2); CreateParticlePopup::updateParticleValueForType((CreateParticlePopup *)((char *)a1 - 632), v7, v9, nullptr); v10 = a2->getTag(a2); CreateParticlePopup::updateSliderForType((CreateParticlePopup *)((char *)a1 - 632), v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source