// // cocos2d::extension::CCScale9Sprite::initWithSpriteFrame from 0x18000f2d0 to 0x18000f367 (151 bytes) // // 3 xrefs: // > @ 0x180029fa8 // > @ 0x180032408 // > @ 0x18004be28 // // 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 // __int64 __fastcall cocos2d::extension::CCScale9Sprite::initWithSpriteFrame( __int64 *a1, _BYTE *a2, const struct cocos2d::CCRect *a3) { struct cocos2d::CCTexture2D *Texture; // rax struct cocos2d::CCSpriteBatchNode *v7; // rax unsigned __int8 v8; // si __int64 v9; // rdi struct cocos2d::CCSpriteBatchNode *v10; // rbp __int64 v11; // rax __int64 v12; // rbx __int64 v13; // rax _BYTE v15[16]; // [rsp+30h] [rbp-38h] BYREF _BYTE v16[40]; // [rsp+40h] [rbp-28h] BYREF Texture = cocos2d::CCSpriteFrame::getTexture((cocos2d::CCSpriteFrame *)a2); v7 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, 9u); v8 = a2[88]; v9 = *a1; v10 = v7; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15, a3); v12 = v11; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v16, (const struct cocos2d::CCRect *)(a2 + 92)); return (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCSpriteBatchNode *, __int64, _QWORD, __int64))(v9 + 992))( a1, v10, v13, v8, v12); }