// // cocos2d::CCImage::_initWithRawData from 0xd7d484 to 0xd7d504 (128 bytes) // // 2 xrefs: // > cocos2d::CCImage::initWithImageData @ 0xd7d638 // > @ 0xdb4c0 // // 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 13:08:08 +0000 // __int64 __fastcall cocos2d::CCImage::_initWithRawData( cocos2d::CCImage *this, void *a2, int a3, int a4, int a5, int a6, char a7) { void *v8; // x0 size_t v10; // [xsp+20h] [xbp+20h] if ( !a4 || !a5 ) return 0; *((_DWORD *)this + 15) = a6; *((_WORD *)this + 29) = a5; *((_WORD *)this + 28) = a4; *((_BYTE *)this + 73) = a7; *((_BYTE *)this + 72) = 1; v10 = 4 * a4 * a5; v8 = (void *)operator new[](v10); *((_QWORD *)this + 8) = v8; memcpy(v8, a2, v10); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source