// // cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor from 0x1003a9710 to 0x1003a976a (90 bytes) // // 7 xrefs: // > cocos2d::extension::CCControlColourPicker::init @ 0x10035578b // > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x100356dec // > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x100356e57 // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x10036853c // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x100368571 // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x1003685a6 // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x1003685e0 // // 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 // cocos2d::CCSprite *__fastcall cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( const char *a1, cocos2d::CCNode *a2, cocos2d::CCPoint a3, cocos2d::CCPoint a4) { __int64 v4; // rdx __int64 v5; // rcx __int64 v6; // r15 __int64 v7; // r12 cocos2d::CCSprite *v8; // r14 v6 = v5; v7 = v4; v8 = cocos2d::CCSprite::createWithSpriteFrameName(a1); if ( v8 ) { ((void (__fastcall *)(cocos2d::CCSprite *, __int64, double, double))v8->setPosition)( v8, v7, *(double *)&a3, *(double *)&a4); ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v8->setAnchorPoint)(v8, v6); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSprite *))a2->addChild)(a2, v8); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source