; ; cocos2d::CCSpriteBatchNode::updateQuadFromSprite from 0x18008f4b0 to 0x18008f585 (213 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b61bc ; ; 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, 0x18008f4b0 mov [rsp+arg_8], rbp ; +0x5, 0x18008f4b5 mov [rsp+arg_10], rsi ; +0xa, 0x18008f4ba push rdi ; +0xf, 0x18008f4bf sub rsp, 20h ; +0x10, 0x18008f4c0 mov ebp, r8d ; +0x14, 0x18008f4c4 mov rsi, rdx ; +0x17, 0x18008f4c7 mov rbx, rcx ; +0x1a, 0x18008f4ca nop dword ptr [rax] ; +0x1d, 0x18008f4cd mov rcx, [rbx+148h] ; +0x20, 0x18008f4d0 mov rax, [rcx] ; +0x27, 0x18008f4d7 call qword ptr [rax+50h] ; +0x2a, 0x18008f4da cmp ebp, eax ; +0x2d, 0x18008f4dd jnb short loc_18008F501 ; +0x2f, 0x18008f4df mov rcx, [rbx+148h] ; +0x31, 0x18008f4e1 mov rax, [rcx] ; +0x38, 0x18008f4e8 call qword ptr [rax+50h] ; +0x3b, 0x18008f4eb mov rcx, [rbx+148h] ; +0x3e, 0x18008f4ee mov edi, eax ; +0x45, 0x18008f4f5 mov rdx, [rcx] ; +0x47, 0x18008f4f7 call qword ptr [rdx+48h] ; +0x4a, 0x18008f4fa cmp edi, eax ; +0x4d, 0x18008f4fd jnz short loc_18008F541 ; +0x4f, 0x18008f4ff mov rcx, [rbx+148h] ; +0x51, 0x18008f501 mov rax, [rcx] ; +0x58, 0x18008f508 call qword ptr [rax+50h] ; +0x5b, 0x18008f50b lea ecx, ds:4[rax*4] ; +0x5e, 0x18008f50e mov eax, 0AAAAAAABh ; +0x65, 0x18008f515 mul ecx ; +0x6a, 0x18008f51a mov rcx, [rbx+148h] ; +0x6c, 0x18008f51c mov edi, edx ; +0x73, 0x18008f523 shr edi, 1 ; +0x75, 0x18008f525 mov rax, [rcx] ; +0x77, 0x18008f527 call qword ptr [rax+50h] ; +0x7a, 0x18008f52a cmp eax, edi ; +0x7d, 0x18008f52d jnb short loc_18008F4D0 ; +0x7f, 0x18008f52f mov rcx, [rbx+148h]; this ; +0x81, 0x18008f531 mov edx, edi; unsigned int ; +0x88, 0x18008f538 call ?resizeCapacity@CCTextureAtlas@cocos2d@@QEAA_NI@Z; cocos2d::CCTextureAtlas::resizeCapacity(uint) ; +0x8a, 0x18008f53a jmp short loc_18008F4D0 ; +0x8f, 0x18008f53f mov rax, [rsi] ; +0x91, 0x18008f541 mov rdx, rbx ; +0x94, 0x18008f544 mov rcx, rsi ; +0x97, 0x18008f547 call qword ptr [rax+3B8h] ; +0x9a, 0x18008f54a mov rax, [rsi] ; +0xa0, 0x18008f550 mov dl, 1 ; +0xa3, 0x18008f553 mov rcx, rsi ; +0xa5, 0x18008f555 mov [rsi+168h], ebp ; +0xa8, 0x18008f558 call qword ptr [rax+408h] ; +0xae, 0x18008f55e mov rax, [rsi] ; +0xb4, 0x18008f564 mov rcx, rsi ; +0xb7, 0x18008f567 mov rbx, [rsp+28h+arg_0] ; +0xba, 0x18008f56a mov rbp, [rsp+28h+arg_8] ; +0xbf, 0x18008f56f mov rsi, [rsp+28h+arg_10] ; +0xc4, 0x18008f574 add rsp, 20h ; +0xc9, 0x18008f579 pop rdi ; +0xcd, 0x18008f57d jmp qword ptr [rax+300h] ; +0xce, 0x18008f57e