// // sub_1000D6B78 from 0x1000d6b78 to 0x1000d6c44 (204 bytes) // // 2 xrefs: // > sub_1000D6C44 @ 0x1000d6c84 // > LevelListLayer::setIDPopupClosed @ 0x1002e3848 // // 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:58:56 +0000 // void __fastcall sub_1000D6B78(std::string *a1, int a2, int a3) { char *size; // x8 char *v6; // x9 char *v7; // x21 char *v8; // x10 signed __int64 v9; // x22 unsigned __int64 v10; // x9 __int64 v11; // x9 int v12; // [xsp+Ch] [xbp-24h] BYREF size = (char *)a1[13].__r_.__value_.__l.__size_; v6 = (char *)a1[13].__r_.__value_.__r.__words[2]; v7 = size; if ( size != v6 ) { v8 = (char *)a1[13].__r_.__value_.__l.__size_; while ( *(_DWORD *)v8 != a2 ) { v8 += 4; v7 += 4; if ( v8 == v6 ) { v7 = (char *)a1[13].__r_.__value_.__r.__words[2]; break; } } } if ( v6 != v7 ) { v12 = *(_DWORD *)v7; v9 = v6 - (v7 + 4); if ( v6 != v7 + 4 ) { memmove(v7, v7 + 4, v6 - (v7 + 4)); size = (char *)a1[13].__r_.__value_.__l.__size_; } a1[13].__r_.__value_.__r.__words[2] = (std::string::size_type)&v7[v9]; v10 = (&v7[v9] - size) >> 2; if ( v10 >= (unsigned int)a3 ) LODWORD(v10) = a3; v11 = 4LL * (unsigned int)v10; if ( a3 < 0 ) v11 = 0; sub_1000CFF30(&a1[13].__r_.__value_.__l.__size_, &size[v11], (char *)&v12); } GJLevelList::updateLevelsString(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source