// // cocos2d::extension::CCControlPotentiometer::create from 0x100345f60 to 0x100346071 (273 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:28:45 +0000 // char *__fastcall cocos2d::extension::CCControlPotentiometer::create(__int64 a1, __int64 a2, __int64 a3) { char *v4; // rbx char *v5; // r12 char *v6; // r15 char *v7; // rax __int64 v8; // rax v4 = (char *)operator new(0x200u); cocos2d::extension::CCControl::CCControl((__int64)v4); *(_QWORD *)v4 = off_100B1F970; *((_QWORD *)v4 + 40) = off_100B1FED0; *((_QWORD *)v4 + 41) = &off_100B1FF40; *((_QWORD *)v4 + 42) = off_100B1FF58; *((_QWORD *)v4 + 43) = off_100B1FF78; *((_QWORD *)v4 + 44) = off_100B1FFA0; *((_QWORD *)v4 + 51) = off_100B1FFD0; *(_OWORD *)(v4 + 472) = 0; sub_1002782A0((_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 ( (unsigned __int8)cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite( v4, v5, v8, v6) ) { cocos2d::CCObject::autorelease(v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source