// // sub_1001DC760 from 0x1001dc760 to 0x1001dc836 (214 bytes) // // 0 xrefs: // // 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:26 +0000 // _QWORD *__fastcall sub_1001DC760(_QWORD *a1, __m128 a2) { char v2; // al __int64 v3; // rax const char *CString; // r12 size_t v5; // rax size_t v6; // r15 void *v7; // r14 size_t v8; // r13 if ( _mm_cvtepi32_ps(_mm_cvttps_epi32(a2)).f32[0] == a2.f32[0] ) v3 = sub_10088E820("%i", v2); else v3 = sub_10088E820("%0.3f", v2); CString = (const char *)cocos2d::CCString::getCString(v3); v5 = strlen(CString); if ( v5 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v6 = v5; if ( v5 >= 0x17 ) { v8 = 26; if ( (v5 | 7) != 0x17 ) v8 = (v5 | 7) + 1; v7 = operator new(v8); a1[2] = v7; *a1 = v8 + 1; a1[1] = v6; } else { *(_BYTE *)a1 = 2 * v5; v7 = (char *)a1 + 1; if ( !v5 ) goto LABEL_12; } memmove(v7, CString, v6); LABEL_12: *((_BYTE *)v7 + v6) = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source