; ; cocos2d::CCDrawNode::ensureCapacity from 0x180015260 to 0x1800152ae (78 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801ae494 ; ; 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 ; push rbx ; +0x0, 0x180015260 sub rsp, 20h ; +0x2, 0x180015262 mov rbx, rcx ; +0x6, 0x180015266 mov ecx, [rcx+160h] ; +0x9, 0x180015269 mov r8d, [rbx+164h] ; +0xf, 0x18001526f add r8d, edx ; +0x16, 0x180015276 cmp r8d, ecx ; +0x19, 0x180015279 jbe short loc_1800152A8 ; +0x1c, 0x18001527c cmp ecx, edx ; +0x1e, 0x18001527e cmova edx, ecx ; +0x20, 0x180015280 lea eax, [rcx+rdx] ; +0x23, 0x180015283 mov rcx, [rbx+168h]; Block ; +0x26, 0x180015286 lea rdx, [rax+rax*4] ; +0x2d, 0x18001528d mov [rbx+160h], eax ; +0x31, 0x180015291 shl rdx, 2; Size ; +0x37, 0x180015297 call cs:realloc ; +0x3b, 0x18001529b mov [rbx+168h], rax ; +0x41, 0x1800152a1 add rsp, 20h ; +0x48, 0x1800152a8 pop rbx ; +0x4c, 0x1800152ac retn ; +0x4d, 0x1800152ad