// // cocos2d::CCSprite::initWithTexture from 0xd85fe0 to 0xd86088 (168 bytes) // // 30 xrefs: // > cocos2d::extension::CCControlSwitchSprite::initWithMaskSprite @ 0xd11118 // > @ 0x4bc10 // > @ 0x14139d0 // > @ 0x1413f90 // > @ 0x1414d40 // > @ 0x14175b0 // > @ 0x141b470 // > @ 0x141baa0 // > @ 0x141cf20 // > @ 0x1422100 // > @ 0x1424640 // > @ 0x1429020 // > @ 0x1433e90 // > @ 0x143a400 // > @ 0x145b1b0 // > @ 0x145b750 // > @ 0x1477840 // > @ 0x14798f0 // > @ 0x1486d50 // > @ 0x1487300 // > @ 0x1497070 // > @ 0x14995c0 // > @ 0x14c1ef0 // > @ 0x14d98f0 // > @ 0x150cd10 // > @ 0x1517bd0 // > @ 0x1518170 // > @ 0x1518cf0 // > @ 0x152e750 // > @ 0x152ff50 // // 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:12 +0000 // __int64 __fastcall cocos2d::CCSprite::initWithTexture(cocos2d::CCSprite *this, cocos2d::CCTexture2D *a2) { __int64 v5; // [xsp+50h] [xbp+50h] BYREF _BYTE v6[8]; // [xsp+58h] [xbp+58h] BYREF float v7; // [xsp+60h] [xbp+60h] BYREF cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const cocos2d::CCRect *)&unk_1560AA8); (*(void (__fastcall **)(__int64 *__return_ptr, cocos2d::CCTexture2D *))(*(_QWORD *)a2 + 144LL))(&v5, a2); cocos2d::CCSize::operator=(&v7, (float *)&v5); return (*(__int64 (__fastcall **)(cocos2d::CCSprite *, cocos2d::CCTexture2D *, _BYTE *))(*(_QWORD *)this + 1016LL))( this, a2, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source