// // cocos2d::extension::CCControlPotentiometer::create from 0x10035a9d0 to 0x10035aae1 (273 bytes) // // 0 xrefs: // // 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::extension::CCControlPotentiometer *__fastcall cocos2d::extension::CCControlPotentiometer::create( const char *a1, const char *a2, const char *a3) { char *v4; // rbx cocos2d::CCSprite *v5; // r12 cocos2d::CCSprite *v6; // r15 cocos2d::CCSprite *v7; // rax cocos2d::CCProgressTimer *v8; // rax v4 = (char *)operator new(0x200u); cocos2d::extension::CCControl::CCControl((__int64)v4); *(_QWORD *)v4 = off_100917A80; *((_QWORD *)v4 + 40) = off_100917FD0; *((_QWORD *)v4 + 41) = &off_100918040; *((_QWORD *)v4 + 42) = off_100918058; *((_QWORD *)v4 + 43) = off_100918078; *((_QWORD *)v4 + 44) = off_100918098; *((_QWORD *)v4 + 51) = off_1009180C0; *(_OWORD *)(v4 + 472) = 0; sub_10028CC30((_QWORD *)v4 + 61); *((_QWORD *)v4 + 62) = 0; *((_DWORD *)v4 + 126) = 0; v5 = cocos2d::CCSprite::create_1(a1); v6 = cocos2d::CCSprite::create_1(a3); v7 = cocos2d::CCSprite::create_1(a2); v8 = cocos2d::CCProgressTimer::create(v7); if ( cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite( (cocos2d::extension::CCControlPotentiometer *)v4, v5, v8, v6) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return (cocos2d::extension::CCControlPotentiometer *)v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source