// // CustomizeObjectLayer::updateKerningLabel from 0x1001da350 to 0x1001da454 (260 bytes) // // 2 xrefs: // > CustomizeObjectLayer::init @ 0x1001d8c95 // > CustomizeObjectLayer::sliderChanged @ 0x1001da342 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:26:25 +0000 // void __fastcall CustomizeObjectLayer::updateKerningLabel(__int64 a1) { unsigned int v2; // eax const std::string::value_type *p_s; // rsi std::string::size_type v4; // rdx _DWORD *v5; // rdi std::string::pointer data; // rsi __int64 v7; // r14 void *v8[3]; // [rsp+8h] [rbp-58h] BYREF unsigned __int8 v9; // [rsp+20h] [rbp-40h] BYREF std::string::value_type __s; // [rsp+21h] [rbp-3Fh] BYREF std::string::size_type v11; // [rsp+28h] [rbp-38h] void *__p; // [rsp+30h] [rbp-30h] std::string v13; // [rsp+38h] [rbp-28h] BYREF if ( *(_QWORD *)(a1 + 840) ) { v13.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)18; strcpy(v13.__r_.__value_.__s.__data_, "Kerning: "); v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 688) + 1760LL))(*(_QWORD *)(a1 + 688)); GameToolbox::intToString(&v9, v2); if ( (v9 & 1) != 0 ) { p_s = (const std::string::value_type *)__p; v4 = v11; } else { v4 = v9 >> 1; p_s = &__s; } std::string::append(&v13, p_s, v4); if ( (v9 & 1) != 0 ) operator delete(__p); v5 = *(_DWORD **)(a1 + 840); v5[128] = *(_DWORD *)(a1 + 832); if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) != 0 ) data = v13.__r_.__value_.__l.__data_; else data = v13.__r_.__value_.__s.__data_; (*(void (__fastcall **)(_DWORD *, std::string::pointer))(*(_QWORD *)v5 + 928LL))(v5, data); v7 = *(_QWORD *)(a1 + 824); if ( v7 ) { *(_DWORD *)(v7 + 708) = *(_DWORD *)(a1 + 832); CCTextInputNode::getString(v8, v7); CCTextInputNode::setString((_QWORD *)v7, (__int64)v8); if ( ((__int64)v8[0] & 1) != 0 ) operator delete(v8[2]); } if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v13.__r_.__value_.__l.__data_); } }