// // cocos2d::extension::CCScale9Sprite::setSpriteFrame from 0x18000fb40 to 0x18000fbe8 (168 bytes) // // 3 xrefs: // > @ 0x180029fc8 // > @ 0x180032408 // > @ 0x18004bf60 // // 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:39 +0000 // void __fastcall cocos2d::extension::CCScale9Sprite::setSpriteFrame( cocos2d::extension::CCScale9Sprite *this, struct cocos2d::CCSpriteFrame *a2) { struct cocos2d::CCTexture2D *Texture; // rax struct cocos2d::CCSpriteBatchNode *v5; // rax unsigned __int8 v6; // si __int64 v7; // rdi struct cocos2d::CCSpriteBatchNode *v8; // rbp __int64 v9; // rax __int64 v10; // rbx __int64 v11; // rax _BYTE v12[16]; // [rsp+30h] [rbp-38h] BYREF _BYTE v13[40]; // [rsp+40h] [rbp-28h] BYREF Texture = cocos2d::CCSpriteFrame::getTexture(a2); v5 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, 9u); v6 = *((_BYTE *)a2 + 88); v7 = *(_QWORD *)this; v8 = v5; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, (const struct cocos2d::CCRect *)&unk_18004A600); v10 = v9; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v13, (struct cocos2d::CCSpriteFrame *)((char *)a2 + 92)); (*(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *, struct cocos2d::CCSpriteBatchNode *, __int64, _QWORD, __int64))(v7 + 1064))( this, v8, v11, v6, v10); *((_QWORD *)this + 47) = 0; *((_QWORD *)this + 48) = 0; }