// // cocos2d::extension::CCHttpRequest::setRequestData from 0x18001ce50 to 0x18001cf01 (177 bytes) // // 4 xrefs: // > @ 0x180031e04 // > @ 0x180031e14 // > @ 0x180032408 // > @ 0x18004cecc // // 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:15:43 +0000 // void __fastcall cocos2d::extension::CCHttpRequest::setRequestData( cocos2d::extension::CCHttpRequest *this, const char *a2, unsigned int a3) { char *v3; // rbx char *v4; // rsi size_t v6; // rdi char *v7; // rbx char *v8; // rax unsigned __int64 v9; // r14 v3 = *((char **)this + 12); v4 = (char *)this + 96; v6 = a3; if ( (unsigned __int64)a3 <= *((_QWORD *)this + 14) - (_QWORD)v3 ) { v9 = *((_QWORD *)this + 13) - (_QWORD)v3; if ( a3 <= v9 ) { memmove(v3, a2, a3); } else { memmove(v3, a2, *((_QWORD *)this + 13) - (_QWORD)v3); v3 = *((char **)v4 + 1); v6 -= v9; memmove(v3, &a2[v9], v6); } v8 = &v3[v6]; } else { sub_180018C60((__int64)this + 96, a3); v7 = *(char **)v4; memmove(*(void **)v4, a2, (unsigned int)v6); v8 = &v7[v6]; } *((_QWORD *)v4 + 1) = v8; }