// // CustomizeObjectLayer::updateKerningLabel from 0x1400a7d10 to 0x1400a7ebc (428 bytes) // // 4 xrefs: // > CustomizeObjectLayer::init @ 0x1400a714d // > CustomizeObjectLayer::sliderChanged @ 0x1400a7f08 // > @ 0x1406c7740 // > @ 0x1406c774c // // 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=2 void CustomizeObjectLayer::updateKerningLabel(CustomizeObjectLayer *a1) { unsigned int v2; // eax void **v3; // rax void *v4; // rdx void **v5; // rdx CCTextInputNode *m_textInput; // rcx cocos2d::CCLabelProtocol *v7; // rcx const char *v8; // rax size_t v9; // r8 void *v10; // rcx void *Block[2]; // [rsp+28h] [rbp-50h] BYREF __int64 v12; // [rsp+38h] [rbp-40h] unsigned __int64 v13; // [rsp+40h] [rbp-38h] __int128 v14; // [rsp+48h] [rbp-30h] BYREF __int64 v15; // [rsp+58h] [rbp-20h] __int64 v16; // [rsp+60h] [rbp-18h] if ( a1->m_kerningLabel ) { Block[1] = (void *)32; v12 = 9; v13 = 15; Block[0] = (void *)0x3A676E696E72654BLL; v2 = a1->m_targetObject->getTextKerning(a1->m_targetObject); v3 = (void **)GameToolbox::intToString(&v14, v2); v4 = v3; if ( (unsigned __int64)v3[3] > 0xF ) v4 = *v3; sub_140041270(Block, v4, (size_t)v3[2]); sub_14003A830((__int64)&v14); a1->m_kerningLabel->m_nExtraKerning = a1->m_kerningAmount; v5 = Block; if ( v13 > 0xF ) v5 = (void **)Block[0]; a1->m_kerningLabel->setString(&a1->m_kerningLabel->cocos2d::CCLabelProtocol, (const char *)v5); m_textInput = a1->m_textInput; if ( m_textInput ) { m_textInput->m_kerningAmount = a1->m_kerningAmount; v7 = &a1->m_textInput->m_textField->cocos2d::CCLabelProtocol; v8 = v7->getString(v7); v14 = 0; v15 = 0; v16 = 0; v9 = -1; do ++v9; while ( v8[v9] ); sub_14003A930(&v14, v8, v9); CCTextInputNode::setString((__int64)a1->m_textInput, &v14); } if ( v13 > 0xF ) { v10 = Block[0]; if ( v13 + 1 >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v10); } } }