// // sub_1000D62F0 from 0x1000d62f0 to 0x1000d65c8 (728 bytes) // // 2 xrefs: // > sub_1000D5190 @ 0x1000d53b8 // > sub_1000D5780 @ 0x1000d5a83 // // 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:20:55 +0000 // __int64 __fastcall sub_1000D62F0(__int64 a1, __int64 a2, __int64 a3) { __int64 v4; // r15 std::string *v5; // r12 __int128 v6; // xmm1 __int128 v7; // xmm2 __int128 v8; // xmm3 __int128 v10; // [rsp+0h] [rbp-100h] __int128 v11; // [rsp+10h] [rbp-F0h] __int128 v12; // [rsp+20h] [rbp-E0h] __int128 v13; // [rsp+30h] [rbp-D0h] __int128 v14; // [rsp+40h] [rbp-C0h] __int128 v15; // [rsp+50h] [rbp-B0h] __int64 v16; // [rsp+60h] [rbp-A0h] std::string __str; // [rsp+70h] [rbp-90h] BYREF std::string v18; // [rsp+90h] [rbp-70h] BYREF std::string v19; // [rsp+A8h] [rbp-58h] BYREF __int128 v20; // [rsp+C0h] [rbp-40h] BYREF void *__p; // [rsp+D0h] [rbp-30h] v4 = *(_QWORD *)(a2 + 1936); cocos2d::ZipUtils::compressString(&v19); if ( (*(_BYTE *)a3 & 1) == 0 ) { *(_WORD *)a3 = 0; v5 = (std::string *)(v4 + 392); if ( (*(_BYTE *)(v4 + 392) & 1) != 0 ) goto LABEL_3; LABEL_6: __p = v5->__r_.__value_.__l.__data_; v20 = *(_OWORD *)&v5->__r_.__value_.__l.0; if ( (*(_BYTE *)&v19.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_4; goto LABEL_7; } **(_BYTE **)(a3 + 16) = 0; *(_QWORD *)(a3 + 8) = 0; v5 = (std::string *)(v4 + 392); if ( (*(_BYTE *)(v4 + 392) & 1) == 0 ) goto LABEL_6; LABEL_3: sub_10001AD30(&v20, *(const void **)(v4 + 408), *(_QWORD *)(v4 + 400)); if ( (*(_BYTE *)&v19.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_4: __str = v19; goto LABEL_8; } LABEL_7: sub_10001AD30(&__str, v19.__r_.__value_.__l.__data_, v19.__r_.__value_.__l.__size_); LABEL_8: std::string::operator=(v5, &__str); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__str.__r_.__value_.__l.__data_); sub_1000C6520(a2); *(_DWORD *)(v4 + 652) += (int)*(double *)(a2 + 14688); v16 = *(_QWORD *)(v4 + 760); v15 = *(_OWORD *)(v4 + 744); v14 = *(_OWORD *)(v4 + 728); v13 = *(_OWORD *)(v4 + 712); v12 = *(_OWORD *)(v4 + 696); v11 = *(_OWORD *)(v4 + 680); v10 = *(_OWORD *)(v4 + 664); v6 = *(_OWORD *)(a2 + 14720); v7 = *(_OWORD *)(a2 + 14736); v8 = *(_OWORD *)(a2 + 14752); *(_OWORD *)(v4 + 664) = *(_OWORD *)(a2 + 14704); *(_OWORD *)(v4 + 680) = v6; *(_OWORD *)(v4 + 696) = v7; *(_OWORD *)(v4 + 712) = v8; *(_OWORD *)(v4 + 728) = *(_OWORD *)(a2 + 14768); *(_OWORD *)(v4 + 744) = *(_OWORD *)(a2 + 14784); *(_DWORD *)(v4 + 760) = *(_DWORD *)(a2 + 14800); sub_10058BF50(a1, v4); if ( (v20 & 1) != 0 ) { sub_10001AD30(&v18, __p, *((unsigned __int64 *)&v20 + 1)); } else { v18.__r_.__value_.__r.__words[2] = (std::string::size_type)__p; *(_OWORD *)&v18.__r_.__value_.__l.0 = v20; } std::string::operator=(v5, &v18); if ( (*(_BYTE *)&v18.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v18.__r_.__value_.__l.__data_); *(_DWORD *)(v4 + 652) -= (int)*(double *)(a2 + 14688); *(_DWORD *)(v4 + 760) = v16; *(_OWORD *)(v4 + 744) = v15; *(_OWORD *)(v4 + 728) = v14; *(_OWORD *)(v4 + 712) = v13; *(_OWORD *)(v4 + 696) = v12; *(_OWORD *)(v4 + 680) = v11; *(_OWORD *)(v4 + 664) = v10; if ( (v20 & 1) != 0 ) operator delete(__p); if ( (*(_BYTE *)&v19.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v19.__r_.__value_.__l.__data_); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source