// // GJWriteMessagePopup::textChanged from 0x14029a740 to 0x14029a8b5 (373 bytes) // // 2 xrefs: // > @ 0x140573228 // > @ 0x1406d1d18 // // 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 // // Hidden C++ exception states: #wind=1 void GJWriteMessagePopup::textChanged(GJWriteMessagePopup *a1, CCTextInputNode *a2) { const char *v4; // rax size_t v5; // rbx size_t v6; // r8 int v7; // eax void **v8; // rdx void **v9; // rdx void *v10; // rcx __int128 v11; // [rsp+28h] [rbp-60h] BYREF __int64 v12; // [rsp+38h] [rbp-50h] __int64 v13; // [rsp+40h] [rbp-48h] void *Block[2]; // [rsp+48h] [rbp-40h] BYREF __int128 v15; // [rsp+58h] [rbp-30h] v4 = a2->m_textField->getString(&a2->m_textField->cocos2d::CCLabelProtocol); *(_OWORD *)Block = 0; v15 = 0; v5 = -1; v6 = -1; do ++v6; while ( v4[v6] ); sub_14003A930(Block, v4, v6); v7 = a2->getTag(a2); if ( v7 ) { if ( v7 == 1 ) { v8 = Block; if ( *((_QWORD *)&v15 + 1) > 0xFu ) v8 = (void **)Block[0]; v11 = 0; v12 = 0; v13 = 0; do ++v5; while ( *((_BYTE *)v8 + v5) ); sub_14003A930(&v11, v8, v5); GJWriteMessagePopup::updateBody(&a1[-1].m_sTransform.ty, &v11); } } else { v9 = Block; if ( *((_QWORD *)&v15 + 1) > 0xFu ) v9 = (void **)Block[0]; v11 = 0; v12 = 0; v13 = 0; do ++v5; while ( *((_BYTE *)v9 + v5) ); sub_14003A930(&v11, v9, v5); GJWriteMessagePopup::updateSubject(&a1[-1].m_sTransform.ty, &v11); } if ( *((_QWORD *)&v15 + 1) > 0xFu ) { v10 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v15 + 1) + 1LL) >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v10); } }