// // NewThreadPopup::shareIDPicked from 0x100947e10 to 0x100947ef4 (228 bytes) // // 2 xrefs: // > sub_100947F10 @ 0x100947f1c // > @ 0x100bc5da8 // // 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:38:34 +0000 // void __fastcall NewThreadPopup::shareIDPicked(__int64 a1, int a2, char a3) { char *v4; // rdi char *v5; // rax const char *CString; // r15 size_t v7; // rax size_t v8; // r14 char *v9; // r12 size_t v10; // r13 _QWORD __dst[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] if ( a2 > 0 ) { v4 = "l_%i"; if ( a3 ) v4 = "li_%i"; v5 = sub_10088E820(v4); CString = (const char *)cocos2d::CCString::getCString((__int64)v5); v7 = strlen(CString); if ( v7 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v8 = v7; if ( v7 >= 0x17 ) { v10 = 26; if ( (v7 | 7) != 0x17 ) v10 = (v7 | 7) + 1; v9 = (char *)operator new(v10); __p = v9; __dst[0] = v10 + 1; __dst[1] = v8; } else { LOBYTE(__dst[0]) = 2 * v7; v9 = (char *)__dst + 1; if ( !v7 ) { LABEL_12: v9[v8] = 0; sub_100947980(a1, (unsigned __int8 *)__dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); return; } } memmove(v9, CString, v8); goto LABEL_12; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source