// // cocos2d::CCSpriteFrame::copyWithZone from 0x100343870 to 0x100343998 (296 bytes) // // 1 xrefs: // > @ 0x100b1f0d0 // // 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:28:44 +0000 // _OWORD *__fastcall cocos2d::CCSpriteFrame::copyWithZone(__int64 a1) { _OWORD *v1; // rbx const std::string::value_type *v2; // rsi __int64 v3; // r14 __int64 v4; // rdi v1 = operator new(0xB8u); *v1 = 0; v1[1] = 0; v1[2] = 0; v1[3] = 0; v1[4] = 0; v1[5] = 0; v1[6] = 0; v1[7] = 0; v1[8] = 0; v1[9] = 0; v1[10] = 0; *((_QWORD *)v1 + 22) = 0; cocos2d::CCObject::CCObject(v1); *(_QWORD *)v1 = off_100B1F0D0; sub_1002782A0((_QWORD *)v1 + 7); sub_100278600((_QWORD *)v1 + 8); sub_1002787A0((_OWORD *)((char *)v1 + 72)); sub_1002787A0((_OWORD *)((char *)v1 + 92)); sub_1002782A0((_OWORD *)((char *)v1 + 108)); sub_100278600((_OWORD *)((char *)v1 + 116)); *(_OWORD *)((char *)v1 + 168) = 0; *(_OWORD *)((char *)v1 + 152) = 0; *(_OWORD *)((char *)v1 + 136) = 0; if ( (*(_BYTE *)(a1 + 136) & 1) != 0 ) v2 = *(const std::string::value_type **)(a1 + 152); else v2 = (const std::string::value_type *)(a1 + 137); cocos2d::CCSpriteFrame::initWithTextureFilename( (__int64)v1, v2, a1 + 72, *(_BYTE *)(a1 + 88), (_QWORD *)(a1 + 108), (_QWORD *)(a1 + 116)); v3 = *(_QWORD *)(a1 + 128); v4 = *((_QWORD *)v1 + 16); if ( v4 != v3 ) { if ( v4 ) cocos2d::CCObject::release(v4); if ( v3 ) cocos2d::CCObject::retain(v3); *((_QWORD *)v1 + 16) = v3; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source