// // sub_100068D20 from 0x100068d20 to 0x100068df1 (209 bytes) // // 1 xrefs: // > EditLevelLayer::init @ 0x1001dd78a // // 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:19:44 +0000 // void __fastcall sub_100068D20(__int64 a1, float a2) { const char *v2; // r15 size_t v3; // rax std::string::size_type v4; // r14 char *data; // r12 size_t v6; // r13 std::string __dst[2]; // [rsp+0h] [rbp-40h] BYREF *(float *)(a1 + 652) = a2; v2 = (const char *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 576) + 1248LL))(*(_QWORD *)(a1 + 576)); v3 = strlen(v2); if ( v3 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v4 = v3; if ( v3 >= 0x17 ) { v6 = 26; if ( (v3 | 7) != 0x17 ) v6 = (v3 | 7) + 1; data = (char *)operator new(v6); __dst[0].__r_.__value_.__r.__words[2] = (std::string::size_type)data; __dst[0].__r_.__value_.__r.__words[0] = v6 + 1; __dst[0].__r_.__value_.__l.__size_ = v4; goto LABEL_8; } __dst[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v3); data = __dst[0].__r_.__value_.__s.__data_; if ( v3 ) LABEL_8: memmove(data, v2, v4); data[v4] = 0; CCTextInputNode::updateLabel(a1, __dst); if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst[0].__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source