// // cocos2d::extension::CCScale9Sprite::setSpriteFrame from 0xd13aa4 to 0xd13b70 (204 bytes) // // 2 xrefs: // > @ 0xa6360 // > @ 0x150db18 // // 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:07:04 +0000 // __int64 __fastcall cocos2d::extension::CCScale9Sprite::setSpriteFrame( cocos2d::extension::CCScale9Sprite *this, cocos2d::CCSpriteFrame *a2) { cocos2d::CCSpriteFrame *v3; // x22 cocos2d::CCSpriteBatchNode *Texture; // x0 unsigned int v5; // w2 __int64 v6; // x23 void (__fastcall *v7)(cocos2d::extension::CCScale9Sprite *, __int64, _BYTE *, _QWORD, _BYTE *); // x21 __int64 result; // x0 _BYTE v9[16]; // [xsp+58h] [xbp+58h] BYREF _BYTE v10[16]; // [xsp+68h] [xbp+68h] BYREF v3 = a2; Texture = (cocos2d::CCSpriteBatchNode *)cocos2d::CCSpriteFrame::getTexture(a2); v6 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, (cocos2d::CCTexture2D *)byte_9, v5); v7 = *(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *, __int64, _BYTE *, _QWORD, _BYTE *))(*(_QWORD *)this + 1184LL); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, (cocos2d::CCSpriteFrame *)((char *)v3 + 92)); LODWORD(v3) = *((unsigned __int8 *)v3 + 88); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, (const cocos2d::CCRect *)&unk_155F8B0); v7(this, v6, v9, (unsigned int)v3, v10); result = _stack_chk_guard; *((_DWORD *)this + 93) = 0; *((_DWORD *)this + 94) = 0; *((_DWORD *)this + 95) = 0; *((_DWORD *)this + 96) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source