; ; sub_180005510 from 0x180005510 to 0x180005578 (104 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCControl::init @ 0x180004233 ; > cocos2d::extension::CCScrollView::initWithViewSize @ 0x18001257b ; > @ 0x1800494f8 ; ; 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, 0x180005510 mov [rsp+arg_8], rsi ; +0x5, 0x180005515 push rdi ; +0xa, 0x18000551a sub rsp, 20h ; +0xb, 0x18000551b mov rdi, [rcx] ; +0xf, 0x18000551f mov rsi, rcx ; +0x12, 0x180005522 mov rbx, [rdi+8] ; +0x15, 0x180005525 cmp byte ptr [rbx+19h], 0 ; +0x19, 0x180005529 jnz short loc_180005555 ; +0x1d, 0x18000552d nop ; +0x1f, 0x18000552f mov r8, [rbx+10h] ; +0x20, 0x180005530 mov rdx, rsi ; +0x24, 0x180005534 mov rcx, rsi ; +0x27, 0x180005537 call sub_180005580 ; +0x2a, 0x18000553a mov rcx, rbx; Block ; +0x2f, 0x18000553f mov edx, 28h ; '(' ; +0x32, 0x180005542 mov rbx, [rbx] ; +0x37, 0x180005547 call j_j_free ; +0x3a, 0x18000554a cmp byte ptr [rbx+19h], 0 ; +0x3f, 0x18000554f jz short loc_180005530 ; +0x43, 0x180005553 mov rbx, [rsp+28h+arg_0] ; +0x45, 0x180005555 mov [rdi+8], rdi ; +0x4a, 0x18000555a mov [rdi], rdi ; +0x4e, 0x18000555e mov [rdi+10h], rdi ; +0x51, 0x180005561 mov qword ptr [rsi+8], 0 ; +0x55, 0x180005565 mov rsi, [rsp+28h+arg_8] ; +0x5d, 0x18000556d add rsp, 20h ; +0x62, 0x180005572 pop rdi ; +0x66, 0x180005576 retn ; +0x67, 0x180005577