// // cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 from 0x1003f5780 to 0x1003f57fb (123 bytes) // // 1 xrefs: // > @ 0x100933020 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1( cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCSpriteFrame *a2, cocos2d::CCRect a3) { unsigned __int64 *v3; // rdx unsigned __int64 *v4; // rbx cocos2d::CCTexture2D *Texture; // rax cocos2d::CCSpriteBatchNode *v6; // r12 _BOOL4 m_bRotated; // r14d double v8; // xmm0_8 __m128 v10; // [rsp+8h] [rbp-48h] BYREF __m128 v11[3]; // [rsp+18h] [rbp-38h] BYREF v4 = v3; Texture = cocos2d::CCSpriteFrame::getTexture(a2); v6 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, 9u); sub_10028D180(v11, (unsigned __int64 *)&a2->m_obRect); m_bRotated = a2->m_bRotated; v8 = sub_10028D180(&v10, v4); return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, __m128 *, _BOOL4, __m128 *, double, double))a1->initWithBatchNode)( a1, v6, v11, m_bRotated, &v10, v8, *(double *)&a3.size); }
GD Web Decomp Icon

GD Web Decomp

Raw Source