; ; cocos2d::extension::CCControlButton::CCControlButton from 0x180005190 to 0x1800052a5 (277 bytes) ; ; 7 xrefs: ; > cocos2d::extension::CCControlButton::create @ 0x180005887 ; > cocos2d::extension::CCControlButton::create @ 0x1800059cc ; > cocos2d::extension::CCControlButton::create @ 0x180005a9f ; > cocos2d::extension::CCControlButton::create @ 0x180007238 ; > cocos2d::extension::CCEditBox::CCEditBox @ 0x180010052 ; > @ 0x180032408 ; > @ 0x18004b474 ; ; 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_8], rbx ; +0x0, 0x180005190 mov [rsp+arg_0], rcx ; +0x5, 0x180005195 push rdi ; +0xa, 0x18000519a sub rsp, 20h ; +0xb, 0x18000519b mov rbx, rcx ; +0xf, 0x18000519f call ??0CCControl@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControl::CCControl(void) ; +0x12, 0x1800051a2 nop ; +0x17, 0x1800051a7 lea rax, ??_7CCControlButton@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCNode'} ; +0x18, 0x1800051a8 mov [rbx], rax ; +0x1f, 0x1800051af lea rax, ??_7CCControlButton@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x22, 0x1800051b2 mov [rbx+140h], rax ; +0x29, 0x1800051b9 lea rax, ??_7CCControlButton@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x30, 0x1800051c0 mov [rbx+148h], rax ; +0x37, 0x1800051c7 lea rax, ??_7CCControlButton@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x3e, 0x1800051ce mov [rbx+150h], rax ; +0x45, 0x1800051d5 lea rax, ??_7CCControlButton@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x4c, 0x1800051dc mov [rbx+158h], rax ; +0x53, 0x1800051e3 lea rax, ??_7CCControlButton@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x5a, 0x1800051ea mov [rbx+160h], rax ; +0x61, 0x1800051f1 lea rax, ??_7CCControlButton@extension@cocos2d@@6B@; const cocos2d::extension::CCControlButton::`vftable' ; +0x68, 0x1800051f8 mov [rbx+198h], rax ; +0x6f, 0x1800051ff xor edi, edi ; +0x76, 0x180005206 mov [rbx+1D8h], rdi ; +0x78, 0x180005208 movzx eax, cs:word_180025A0C ; +0x7f, 0x18000520f mov [rbx+1E0h], ax ; +0x86, 0x180005216 movzx eax, cs:byte_180025A0E ; +0x8d, 0x18000521d mov [rbx+1E2h], al ; +0x94, 0x180005224 mov [rbx+1E3h], dil ; +0x9a, 0x18000522a mov [rbx+1E8h], rdi ; +0xa1, 0x180005231 mov [rbx+1F0h], rdi ; +0xa8, 0x180005238 lea rcx, [rbx+1F8h] ; +0xaf, 0x18000523f call cs:??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0xb6, 0x180005246 mov [rbx+200h], dil ; +0xbc, 0x18000524c lea rcx, [rbx+204h] ; +0xc3, 0x180005253 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xca, 0x18000525a mov [rbx+20Ch], di ; +0xd0, 0x180005260 mov [rbx+210h], rdi ; +0xd7, 0x180005267 mov [rbx+218h], rdi ; +0xde, 0x18000526e mov [rbx+220h], rdi ; +0xe5, 0x180005275 mov [rbx+228h], rdi ; +0xec, 0x18000527c mov dword ptr [rbx+230h], 2 ; +0xf3, 0x180005283 mov dword ptr [rbx+234h], 8 ; +0xfd, 0x18000528d mov rax, rbx ; +0x107, 0x180005297 mov rbx, [rsp+28h+arg_8] ; +0x10a, 0x18000529a add rsp, 20h ; +0x10f, 0x18000529f pop rdi ; +0x113, 0x1800052a3 retn ; +0x114, 0x1800052a4