; ; cocos2d::extension::CCControl::init from 0x1800041a0 to 0x180004252 (178 bytes) ; ; 17 xrefs: ; > cocos2d::extension::CCControlButton::initWithLabelAndBackgroundSprite @ 0x1800059e0 ; > cocos2d::extension::CCControlColourPicker::init @ 0x180007b39 ; > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x180008631 ; > cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite @ 0x180008f81 ; > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x1800099d2 ; > cocos2d::extension::CCControlSlider::initWithSprites @ 0x18000a5c0 ; > cocos2d::extension::CCControlStepper::initWithMinusSpriteAndPlusSprite @ 0x18000b33c ; > cocos2d::extension::CCControlSwitch::initWithMaskSprite @ 0x18000cbee ; > @ 0x180023738 ; > @ 0x1800249b0 ; > @ 0x180024f60 ; > @ 0x180025548 ; > @ 0x180025af8 ; > @ 0x1800260c8 ; > @ 0x1800266f0 ; > @ 0x18002fdf8 ; > @ 0x1800493c0 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800041a0 push rdi ; +0x5, 0x1800041a5 sub rsp, 20h ; +0x6, 0x1800041a6 mov rdi, rcx ; +0xa, 0x1800041aa call cs:?init@CCLayer@cocos2d@@UEAA_NXZ; cocos2d::CCLayer::init(void) ; +0xd, 0x1800041ad test al, al ; +0x13, 0x1800041b3 jz loc_180004245 ; +0x15, 0x1800041b5 mov dword ptr [rdi+1B4h], 1 ; +0x1b, 0x1800041bb mov rax, [rdi] ; +0x25, 0x1800041c5 mov dl, 1 ; +0x28, 0x1800041c8 mov rcx, rdi ; +0x2a, 0x1800041ca call qword ptr [rax+3F8h] ; +0x2d, 0x1800041cd mov rax, [rdi] ; +0x33, 0x1800041d3 xor edx, edx ; +0x36, 0x1800041d6 mov rcx, rdi ; +0x38, 0x1800041d8 call qword ptr [rax+408h] ; +0x3b, 0x1800041db mov rax, [rdi] ; +0x41, 0x1800041e1 xor edx, edx ; +0x44, 0x1800041e4 mov rcx, rdi ; +0x46, 0x1800041e6 call qword ptr [rax+418h] ; +0x49, 0x1800041e9 mov rax, [rdi] ; +0x4f, 0x1800041ef mov edx, 1 ; +0x52, 0x1800041f2 mov rcx, rdi ; +0x57, 0x1800041f7 call qword ptr [rax+3A0h] ; +0x5a, 0x1800041fa mov ecx, 48h ; 'H'; Size ; +0x60, 0x180004200 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x65, 0x180004205 mov rbx, rax ; +0x6a, 0x18000420a mov [rsp+28h+arg_8], rax ; +0x6d, 0x18000420d mov rcx, rax ; +0x72, 0x180004212 call cs:??0CCDictionary@cocos2d@@QEAA@XZ; cocos2d::CCDictionary::CCDictionary(void) ; +0x75, 0x180004215 lea rax, ??_7CCDictionary@cocos2d@@6B@; const cocos2d::CCDictionary::`vftable' ; +0x7b, 0x18000421b mov [rbx], rax ; +0x82, 0x180004222 mov [rdi+1C0h], rbx ; +0x85, 0x180004225 lea rcx, [rdi+1C8h] ; +0x8c, 0x18000422c call sub_180005510 ; +0x93, 0x180004233 mov al, 1 ; +0x98, 0x180004238 mov rbx, [rsp+28h+arg_0] ; +0x9a, 0x18000423a add rsp, 20h ; +0x9f, 0x18000423f pop rdi ; +0xa3, 0x180004243 retn ; +0xa4, 0x180004244 xor al, al ; +0xa5, 0x180004245 mov rbx, [rsp+28h+arg_0] ; +0xa7, 0x180004247 add rsp, 20h ; +0xac, 0x18000424c pop rdi ; +0xb0, 0x180004250 retn ; +0xb1, 0x180004251