// // cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName_1 from 0x100215dd8 to 0x100215e48 (112 bytes) // // 1 xrefs: // > @ 0x1007c32f0 // // 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::initWithSpriteFrameName_1( cocos2d::extension::CCScale9Sprite *a1, const char *a2, cocos2d::CCRect a3) { __int64 v3; // x2 __int64 v4; // x20 cocos2d::CCSpriteFrameCache *v7; // x0 cocos2d::CCSpriteFrame *v8; // x0 cocos2d::CCSpriteFrame *v9; // x21 double v10; // d0 _QWORD v12[2]; // [xsp+0h] [xbp-30h] BYREF v4 = v3; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v7 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, a2); if ( v8 ) { v9 = v8; v10 = sub_100022B98(v12, v4); LOBYTE(v8) = ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteFrame *, _QWORD *, double))a1->initWithSpriteFrame)( a1, v9, v12, v10); } return (char)v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source