// // cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor from 0x7aaae4 to 0x7aab18 (52 bytes) // // 7 xrefs: // > cocos2d::extension::CCControlColourPicker::init @ 0x7a85fc // > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x7a89ba // > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x7a89fa // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x7a8f36 // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x7a8f5a // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x7a8f7e // > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x7a8fa4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:02 +0000 // int __fastcall cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( cocos2d::CCSprite *a1, const char *a2, int a3, int a4) { int v7; // r0 int v8; // r4 v7 = cocos2d::CCSprite::createWithSpriteFrameName(a1, a2); v8 = v7; if ( v7 ) { (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 92))(v7, a3); (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 148))(v8, a4); (*(void (__fastcall **)(const char *, int))(*(_DWORD *)a2 + 228))(a2, v8); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source