; ; cocos2d::extension::CCControl::init from 0x180003ba0 to 0x180003c52 (178 bytes) ; ; 17 xrefs: ; > cocos2d::extension::CCControlButton::initWithLabelAndBackgroundSprite @ 0x18000547f ; > cocos2d::extension::CCControlColourPicker::init @ 0x180007609 ; > cocos2d::extension::CCControlHuePicker::initWithTargetAndPos @ 0x1800080e1 ; > cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite @ 0x180008a31 ; > cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos @ 0x180009482 ; > cocos2d::extension::CCControlSlider::initWithSprites @ 0x18000a061 ; > cocos2d::extension::CCControlStepper::initWithMinusSpriteAndPlusSprite @ 0x18000ae53 ; > cocos2d::extension::CCControlSwitch::initWithMaskSprite @ 0x18000c73e ; > @ 0x180025c50 ; > @ 0x180026f28 ; > @ 0x1800274f8 ; > @ 0x180027b00 ; > @ 0x1800280d0 ; > @ 0x1800286c0 ; > @ 0x180028d08 ; > @ 0x180032408 ; > @ 0x18004b30c ; ; 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:15:35 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180003ba0 push rdi ; +0x5, 0x180003ba5 sub rsp, 20h ; +0x6, 0x180003ba6 mov rdi, rcx ; +0xa, 0x180003baa call cs:?init@CCLayer@cocos2d@@UEAA_NXZ; cocos2d::CCLayer::init(void) ; +0xd, 0x180003bad test al, al ; +0x13, 0x180003bb3 jz loc_180003C45 ; +0x15, 0x180003bb5 mov dword ptr [rdi+1B4h], 1 ; +0x1b, 0x180003bbb mov rax, [rdi] ; +0x25, 0x180003bc5 mov dl, 1 ; +0x28, 0x180003bc8 mov rcx, rdi ; +0x2a, 0x180003bca call qword ptr [rax+408h] ; +0x2d, 0x180003bcd mov rax, [rdi] ; +0x33, 0x180003bd3 xor edx, edx ; +0x36, 0x180003bd6 mov rcx, rdi ; +0x38, 0x180003bd8 call qword ptr [rax+418h] ; +0x3b, 0x180003bdb mov rax, [rdi] ; +0x41, 0x180003be1 xor edx, edx ; +0x44, 0x180003be4 mov rcx, rdi ; +0x46, 0x180003be6 call qword ptr [rax+428h] ; +0x49, 0x180003be9 mov rax, [rdi] ; +0x4f, 0x180003bef mov edx, 1 ; +0x52, 0x180003bf2 mov rcx, rdi ; +0x57, 0x180003bf7 call qword ptr [rax+3B0h] ; +0x5a, 0x180003bfa mov ecx, 48h ; 'H'; Size ; +0x60, 0x180003c00 call sub_18001F040 ; +0x65, 0x180003c05 mov rbx, rax ; +0x6a, 0x180003c0a mov [rsp+28h+arg_8], rax ; +0x6d, 0x180003c0d mov rcx, rax ; +0x72, 0x180003c12 call cs:??0CCDictionary@cocos2d@@QEAA@XZ; cocos2d::CCDictionary::CCDictionary(void) ; +0x75, 0x180003c15 lea rax, ??_7CCDictionary@cocos2d@@6B@; const cocos2d::CCDictionary::`vftable' ; +0x7b, 0x180003c1b mov [rbx], rax ; +0x82, 0x180003c22 mov [rdi+1C0h], rbx ; +0x85, 0x180003c25 lea rcx, [rdi+1C8h] ; +0x8c, 0x180003c2c call sub_180004FB0 ; +0x93, 0x180003c33 mov al, 1 ; +0x98, 0x180003c38 mov rbx, [rsp+28h+arg_0] ; +0x9a, 0x180003c3a add rsp, 20h ; +0x9f, 0x180003c3f pop rdi ; +0xa3, 0x180003c43 retn ; +0xa4, 0x180003c44 xor al, al ; +0xa5, 0x180003c45 mov rbx, [rsp+28h+arg_0] ; +0xa7, 0x180003c47 add rsp, 20h ; +0xac, 0x180003c4c pop rdi ; +0xb0, 0x180003c50 retn ; +0xb1, 0x180003c51