; ; cocos2d::extension::CCScrollView::initWithViewSize from 0x180012420 to 0x1800125a4 (388 bytes) ; ; 5 xrefs: ; > cocos2d::extension::CCScrollView::create @ 0x18001237b ; > cocos2d::extension::CCScrollView::init @ 0x1800125d8 ; > cocos2d::extension::CCTableView::initWithViewSize @ 0x180014cf9 ; > @ 0x18002fdf8 ; > @ 0x18004a344 ; ; 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, 0x180012420 mov [rsp+arg_8], rsi ; +0x5, 0x180012425 push rdi ; +0xa, 0x18001242a sub rsp, 20h ; +0xb, 0x18001242b mov rbx, r8 ; +0xf, 0x18001242f mov rsi, rdx ; +0x12, 0x180012432 mov rdi, rcx ; +0x15, 0x180012435 call cs:?init@CCLayer@cocos2d@@UEAA_NXZ; cocos2d::CCLayer::init(void) ; +0x18, 0x180012438 test al, al ; +0x1e, 0x18001243e jz loc_180012592 ; +0x20, 0x180012440 mov [rdi+1C0h], rbx ; +0x26, 0x180012446 test rbx, rbx ; +0x2d, 0x18001244d jnz short loc_180012499 ; +0x30, 0x180012450 call cs:?create@CCLayer@cocos2d@@SAPEAV12@XZ; cocos2d::CCLayer::create(void) ; +0x32, 0x180012452 mov [rdi+1C0h], rax ; +0x38, 0x180012458 mov r8, [rax] ; +0x3f, 0x18001245f xor edx, edx ; +0x42, 0x180012462 mov rcx, rax ; +0x44, 0x180012464 call qword ptr [r8+1A0h] ; +0x47, 0x180012467 mov rax, [rdi+1C0h] ; +0x4e, 0x18001246e mov rbx, [rax] ; +0x55, 0x180012475 xorps xmm2, xmm2 ; +0x58, 0x180012478 xorps xmm1, xmm1 ; +0x5b, 0x18001247b lea rcx, [rsp+28h+arg_18] ; +0x5e, 0x18001247e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x63, 0x180012483 mov rdx, rax ; +0x69, 0x180012489 mov rcx, [rdi+1C0h] ; +0x6c, 0x18001248c call qword ptr [rbx+110h] ; +0x73, 0x180012493 mov rdx, rsi ; +0x79, 0x180012499 lea rcx, [rsp+28h+arg_18] ; +0x7c, 0x18001249c call cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x81, 0x1800124a1 mov rbx, rax ; +0x87, 0x1800124a7 lea rcx, [rdi+200h] ; +0x8a, 0x1800124aa mov rdx, rax ; +0x91, 0x1800124b1 call cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x94, 0x1800124b4 mov rdx, rbx ; +0x9a, 0x1800124ba mov rcx, rdi ; +0x9d, 0x1800124bd call cs:__imp_?setContentSize@CCNode@cocos2d@@UEAAXAEBVCCSize@2@@Z; cocos2d::CCNode::setContentSize(cocos2d::CCSize const &) ; +0xa0, 0x1800124c0 mov rax, [rdi] ; +0xa6, 0x1800124c6 mov dl, 1 ; +0xa9, 0x1800124c9 mov rcx, rdi ; +0xab, 0x1800124cb call qword ptr [rax+388h] ; +0xae, 0x1800124ce mov ecx, 40h ; '@'; Size ; +0xb4, 0x1800124d4 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb9, 0x1800124d9 mov rbx, rax ; +0xbe, 0x1800124de mov [rsp+28h+arg_18], rax ; +0xc1, 0x1800124e1 mov rcx, rax ; +0xc6, 0x1800124e6 call cs:??0CCArray@cocos2d@@QEAA@XZ; cocos2d::CCArray::CCArray(void) ; +0xc9, 0x1800124e9 lea rax, ??_7CCArray@cocos2d@@6B@; const cocos2d::CCArray::`vftable' ; +0xcf, 0x1800124ef mov [rbx], rax ; +0xd6, 0x1800124f6 mov [rdi+1F8h], rbx ; +0xd9, 0x1800124f9 xor esi, esi ; +0xe0, 0x180012500 mov [rdi+1A8h], rsi ; +0xe2, 0x180012502 mov word ptr [rdi+1DCh], 101h ; +0xe9, 0x180012509 mov dword ptr [rdi+1B0h], 2 ; +0xf2, 0x180012512 mov rax, [rdi+1C0h] ; +0xfc, 0x18001251c mov rbx, [rax] ; +0x103, 0x180012523 xorps xmm2, xmm2 ; +0x106, 0x180012526 xorps xmm1, xmm1 ; +0x109, 0x180012529 lea rcx, [rsp+28h+arg_18] ; +0x10c, 0x18001252c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x111, 0x180012531 mov rdx, rax ; +0x117, 0x180012537 mov rcx, [rdi+1C0h] ; +0x11a, 0x18001253a call qword ptr [rbx+0B8h] ; +0x121, 0x180012541 mov [rdi+1F0h], esi ; +0x127, 0x180012547 mov rax, [rdi] ; +0x12d, 0x18001254d mov rdx, [rdi+1C0h] ; +0x130, 0x180012550 mov rcx, rdi ; +0x137, 0x180012557 call qword ptr [rax+1C0h] ; +0x13a, 0x18001255a mov dword ptr [rdi+20Ch], 3F800000h ; +0x140, 0x180012560 mov dword ptr [rdi+208h], 3F800000h ; +0x14a, 0x18001256a lea rcx, [rdi+228h] ; +0x154, 0x180012574 call sub_180005510 ; +0x15b, 0x18001257b mov al, 1 ; +0x160, 0x180012580 mov rbx, [rsp+28h+arg_0] ; +0x162, 0x180012582 mov rsi, [rsp+28h+arg_8] ; +0x167, 0x180012587 add rsp, 20h ; +0x16c, 0x18001258c pop rdi ; +0x170, 0x180012590 retn ; +0x171, 0x180012591 xor al, al ; +0x172, 0x180012592 mov rbx, [rsp+28h+arg_0] ; +0x174, 0x180012594 mov rsi, [rsp+28h+arg_8] ; +0x179, 0x180012599 add rsp, 20h ; +0x17e, 0x18001259e pop rdi ; +0x182, 0x1800125a2 retn ; +0x183, 0x1800125a3