; ; cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad from 0x18008dea0 to 0x18008df49 (169 bytes) ; ; 3 xrefs: ; > cocos2d::CCTMXLayer::tileAt @ 0x1800ad5dc ; > @ 0x1801438a8 ; > @ 0x1801b5f58 ; ; 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, 0x18008dea0 mov [rsp+arg_8], rbp ; +0x5, 0x18008dea5 mov [rsp+arg_10], rsi ; +0xa, 0x18008deaa push rdi ; +0xf, 0x18008deaf sub rsp, 20h ; +0x10, 0x18008deb0 mov ebx, r8d ; +0x14, 0x18008deb4 mov ebp, r9d ; +0x17, 0x18008deb7 mov [rdx+168h], ebx ; +0x1a, 0x18008deba xor r8d, r8d ; +0x20, 0x18008dec0 mov r11, [rcx+158h] ; +0x23, 0x18008dec3 mov rsi, rdx ; +0x2a, 0x18008deca mov rdi, rcx ; +0x2d, 0x18008decd test r11, r11 ; +0x30, 0x18008ded0 jz short loc_18008DF0E ; +0x33, 0x18008ded3 mov rax, [r11+38h] ; +0x35, 0x18008ded5 mov r10d, [rax] ; +0x39, 0x18008ded9 test r10d, r10d ; +0x3c, 0x18008dedc jz short loc_18008DF0E ; +0x3f, 0x18008dedf mov rax, [rax+10h] ; +0x41, 0x18008dee1 lea r9, [r10-1] ; +0x45, 0x18008dee5 lea r9, [rax+r9*8] ; +0x49, 0x18008dee9 cmp rax, r9 ; +0x4d, 0x18008deed ja short loc_18008DF0E ; +0x50, 0x18008def0 mov rdx, [rax] ; +0x52, 0x18008def2 test rdx, rdx ; +0x55, 0x18008def5 jz short loc_18008DF0E ; +0x58, 0x18008def8 cmp [rdx+168h], ebx ; +0x5a, 0x18008defa jnb short loc_18008DF0E ; +0x60, 0x18008df00 inc r8d; unsigned int ; +0x62, 0x18008df02 add rax, 8 ; +0x65, 0x18008df05 cmp rax, r9 ; +0x69, 0x18008df09 jbe short loc_18008DEF2 ; +0x6c, 0x18008df0c mov rdx, rsi; struct cocos2d::CCObject * ; +0x6e, 0x18008df0e mov rcx, r11; this ; +0x71, 0x18008df11 call ?insertObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@I@Z; cocos2d::CCArray::insertObject(cocos2d::CCObject *,uint) ; +0x74, 0x18008df14 mov r9d, ebp; int ; +0x79, 0x18008df19 mov r8d, ebx; int ; +0x7c, 0x18008df1c mov rdx, rsi; struct cocos2d::CCNode * ; +0x7f, 0x18008df1f mov rcx, rdi; this ; +0x82, 0x18008df22 call ?addChild@CCNode@cocos2d@@UEAAXPEAV12@HH@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *,int,int) ; +0x85, 0x18008df25 mov rbx, [rsp+28h+arg_0] ; +0x8a, 0x18008df2a mov rax, rdi ; +0x8f, 0x18008df2f mov rbp, [rsp+28h+arg_8] ; +0x92, 0x18008df32 mov rsi, [rsp+28h+arg_10] ; +0x97, 0x18008df37 mov byte ptr [rdi+120h], 0 ; +0x9c, 0x18008df3c add rsp, 20h ; +0xa3, 0x18008df43 pop rdi ; +0xa7, 0x18008df47 retn ; +0xa8, 0x18008df48