; ; cocos2d::CCDrawNode::ensureCapacity from 0x180015180 to 0x1800151ce (78 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801b8548 ; ; 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 11:21:23 +0000 ; push rbx ; +0x0, 0x180015180 sub rsp, 20h ; +0x2, 0x180015182 mov rbx, rcx ; +0x6, 0x180015186 mov ecx, [rcx+160h] ; +0x9, 0x180015189 mov r8d, [rbx+164h] ; +0xf, 0x18001518f add r8d, edx ; +0x16, 0x180015196 cmp r8d, ecx ; +0x19, 0x180015199 jbe short loc_1800151C8 ; +0x1c, 0x18001519c cmp ecx, edx ; +0x1e, 0x18001519e cmova edx, ecx ; +0x20, 0x1800151a0 lea eax, [rcx+rdx] ; +0x23, 0x1800151a3 mov rcx, [rbx+168h]; Block ; +0x26, 0x1800151a6 lea rdx, [rax+rax*4] ; +0x2d, 0x1800151ad mov [rbx+160h], eax ; +0x31, 0x1800151b1 shl rdx, 2; Size ; +0x37, 0x1800151b7 call cs:realloc ; +0x3b, 0x1800151bb mov [rbx+168h], rax ; +0x41, 0x1800151c1 add rsp, 20h ; +0x48, 0x1800151c8 pop rbx ; +0x4c, 0x1800151cc retn ; +0x4d, 0x1800151cd