// // sub_1000584F4 from 0x1000584f4 to 0x1000585f0 (252 bytes) // // 2 xrefs: // > CustomizeObjectLayer::init @ 0x100057300 // > CustomizeObjectLayer::sliderChanged @ 0x1000584f0 // // This function is hookable on this platform (idp: arm, 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 10:57:46 +0000 // void __fastcall sub_1000584F4(__int64 a1) { __int64 v2; // x0 void **v3; // x1 std::string::size_type v4; // x2 _DWORD *v5; // x0 std::string *v6; // x1 __int64 v7; // x20 void *v8[2]; // [xsp+8h] [xbp-58h] BYREF char v9; // [xsp+1Fh] [xbp-41h] void *__p[2]; // [xsp+20h] [xbp-40h] BYREF unsigned __int8 v11; // [xsp+37h] [xbp-29h] std::string v12; // [xsp+38h] [xbp-28h] BYREF if ( *(_QWORD *)(a1 + 840) ) { sub_100009900(&v12, "Kerning: "); v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 688) + 1760LL))(*(_QWORD *)(a1 + 688)); GameToolbox::intToString(v2, __p); if ( (v11 & 0x80u) == 0 ) v3 = __p; else v3 = (void **)__p[0]; if ( (v11 & 0x80u) == 0 ) v4 = v11; else v4 = (std::string::size_type)__p[1]; std::string::append(&v12, (const std::string::value_type *)v3, v4); if ( (char)v11 < 0 ) operator delete(__p[0]); v5 = *(_DWORD **)(a1 + 840); v5[128] = *(_DWORD *)(a1 + 832); if ( (v12.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v6 = &v12; else v6 = (std::string *)v12.__r_.__value_.__r.__words[0]; (*(void (__fastcall **)(_DWORD *, std::string *))(*(_QWORD *)v5 + 928LL))(v5, v6); v7 = *(_QWORD *)(a1 + 824); if ( v7 ) { *(_DWORD *)(v7 + 708) = *(_DWORD *)(a1 + 832); CCTextInputNode::getString(v8); CCTextInputNode::setString(v7, v8); if ( v9 < 0 ) operator delete(v8[0]); } if ( SHIBYTE(v12.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v12.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source