// // cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor from 0x5a4dd4 to 0x5a4e08 (52 bytes) // // 7 xrefs: // > cocos2d::extension::CCControlColourPicker::init @ 0x5a2904 // > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x5a2cc2 // > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x5a2d02 // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x5a323e // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x5a3262 // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x5a3286 // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x5a32ac // // 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 *cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( const char *a1, cocos2d::CCNode *a2, cocos2d::CCPoint a3, cocos2d::CCPoint a4) { float x; // r7 float y; // r6 cocos2d::CCSprite *v7; // r0 cocos2d::CCSprite *v8; // r4 x = a3.x; y = a3.y; v7 = cocos2d::CCSprite::createWithSpriteFrameName(a1); v8 = v7; if ( v7 ) { ((void (__fastcall *)(cocos2d::CCSprite *, float))v7->setPosition)(v7, COERCE_FLOAT(LODWORD(x))); ((void (__fastcall *)(cocos2d::CCSprite *, float))v8->setAnchorPoint)(v8, COERCE_FLOAT(LODWORD(y))); a2->addChild(a2, v8); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source