; ; cocos2d::CCSpriteBatchNode::initWithTexture from 0x18008e650 to 0x18008e7a2 (338 bytes) ; ; 8 xrefs: ; > cocos2d::CCLabelBMFont::initWithString @ 0x180048bb2 ; > cocos2d::CCSpriteBatchNode::create @ 0x18008e2d8 ; > cocos2d::CCSpriteBatchNode::createWithTexture @ 0x18008e375 ; > cocos2d::CCSpriteBatchNode::init @ 0x18008e5fb ; > cocos2d::CCSpriteBatchNode::initWithFile @ 0x18008e643 ; > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac1eb ; > @ 0x1801438a8 ; > @ 0x1801b6024 ; ; 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_8], rbx ; +0x0, 0x18008e650 mov [rsp+arg_10], rbp ; +0x5, 0x18008e655 mov [rsp+arg_18], rsi ; +0xa, 0x18008e65a push rdi ; +0xf, 0x18008e65f push r14 ; +0x10, 0x18008e660 push r15 ; +0x12, 0x18008e662 sub rsp, 20h ; +0x14, 0x18008e664 mov ebp, r8d ; +0x18, 0x18008e668 mov r14, rdx ; +0x1b, 0x18008e66b mov rdi, rcx ; +0x1e, 0x18008e66e mov r15d, 1 ; +0x21, 0x18008e671 mov [rcx+150h], r15d ; +0x27, 0x18008e677 mov dword ptr [rcx+154h], 303h ; +0x2e, 0x18008e67e lea ecx, [r15+6Fh]; Size ; +0x38, 0x18008e688 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3c, 0x18008e68c mov [rsp+38h+arg_0], rax ; +0x41, 0x18008e691 xor ebx, ebx ; +0x46, 0x18008e696 test rax, rax ; +0x48, 0x18008e698 jz short loc_18008E6A7 ; +0x4b, 0x18008e69b mov rcx, rax; this ; +0x4d, 0x18008e69d call ??0CCTextureAtlas@cocos2d@@QEAA@XZ; cocos2d::CCTextureAtlas::CCTextureAtlas(void) ; +0x50, 0x18008e6a0 jmp short loc_18008E6AA ; +0x55, 0x18008e6a5 mov rax, rbx ; +0x57, 0x18008e6a7 mov [rdi+148h], rax ; +0x5a, 0x18008e6aa mov esi, 1Dh ; +0x61, 0x18008e6b1 test ebp, ebp ; +0x66, 0x18008e6b6 cmovnz esi, ebp ; +0x68, 0x18008e6b8 mov r8d, esi; unsigned int ; +0x6b, 0x18008e6bb mov rdx, r14; struct cocos2d::CCTexture2D * ; +0x6e, 0x18008e6be mov rcx, rax; this ; +0x71, 0x18008e6c1 call ?initWithTexture@CCTextureAtlas@cocos2d@@QEAA_NPEAVCCTexture2D@2@I@Z; cocos2d::CCTextureAtlas::initWithTexture(cocos2d::CCTexture2D *,uint) ; +0x74, 0x18008e6c4 mov rcx, [rdi+148h] ; +0x79, 0x18008e6c9 mov rax, [rcx] ; +0x80, 0x18008e6d0 call qword ptr [rax+58h] ; +0x83, 0x18008e6d3 mov rcx, rax; this ; +0x86, 0x18008e6d6 call ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x89, 0x18008e6d9 mov ecx, 302h ; +0x8e, 0x18008e6de test al, al ; +0x93, 0x18008e6e3 cmovnz ecx, r15d ; +0x95, 0x18008e6e5 mov [rdi+150h], ecx ; +0x99, 0x18008e6e9 mov dword ptr [rdi+154h], 303h ; +0x9f, 0x18008e6ef mov ecx, 40h ; '@'; Size ; +0xa9, 0x18008e6f9 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xae, 0x18008e6fe mov [rsp+38h+arg_0], rax ; +0xb3, 0x18008e703 test rax, rax ; +0xb8, 0x18008e708 jz short loc_18008E717 ; +0xbb, 0x18008e70b mov rcx, rax; this ; +0xbd, 0x18008e70d call ??0CCArray@cocos2d@@QEAA@XZ; cocos2d::CCArray::CCArray(void) ; +0xc0, 0x18008e710 jmp short loc_18008E71A ; +0xc5, 0x18008e715 mov rax, rbx ; +0xc7, 0x18008e717 mov [rdi+0D0h], rax ; +0xca, 0x18008e71a mov edx, esi; unsigned int ; +0xd1, 0x18008e721 mov rcx, rax; this ; +0xd3, 0x18008e723 call ?initWithCapacity@CCArray@cocos2d@@QEAA_NI@Z; cocos2d::CCArray::initWithCapacity(uint) ; +0xd6, 0x18008e726 mov ecx, 40h ; '@'; Size ; +0xdb, 0x18008e72b call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xe0, 0x18008e730 mov [rsp+38h+arg_0], rax ; +0xe5, 0x18008e735 test rax, rax ; +0xea, 0x18008e73a jz short loc_18008E74A ; +0xed, 0x18008e73d mov rcx, rax; this ; +0xef, 0x18008e73f call ??0CCArray@cocos2d@@QEAA@XZ; cocos2d::CCArray::CCArray(void) ; +0xf2, 0x18008e742 mov rbx, rax ; +0xf7, 0x18008e747 mov [rdi+158h], rbx ; +0xfa, 0x18008e74a mov edx, esi; unsigned int ; +0x101, 0x18008e751 mov rcx, rbx; this ; +0x103, 0x18008e753 call ?initWithCapacity@CCArray@cocos2d@@QEAA_NI@Z; cocos2d::CCArray::initWithCapacity(uint) ; +0x106, 0x18008e756 mov word ptr [rdi+160h], 0 ; +0x10b, 0x18008e75b mov rbx, [rdi] ; +0x114, 0x18008e764 call ?sharedShaderCache@CCShaderCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCShaderCache::sharedShaderCache(void) ; +0x117, 0x18008e767 mov rcx, rax; this ; +0x11c, 0x18008e76c lea rdx, aShaderposition_3; "ShaderPositionTextureColor" ; +0x11f, 0x18008e76f call ?programForKey@CCShaderCache@cocos2d@@QEAAPEAVCCGLProgram@2@PEBD@Z; cocos2d::CCShaderCache::programForKey(char const *) ; +0x126, 0x18008e776 mov rdx, rax ; +0x12b, 0x18008e77b mov rcx, rdi ; +0x12e, 0x18008e77e call qword ptr [rbx+280h] ; +0x131, 0x18008e781 mov al, 1 ; +0x137, 0x18008e787 mov rbx, [rsp+38h+arg_8] ; +0x139, 0x18008e789 mov rbp, [rsp+38h+arg_10] ; +0x13e, 0x18008e78e mov rsi, [rsp+38h+arg_18] ; +0x143, 0x18008e793 add rsp, 20h ; +0x148, 0x18008e798 pop r15 ; +0x14c, 0x18008e79c pop r14 ; +0x14e, 0x18008e79e pop rdi ; +0x150, 0x18008e7a0 retn ; +0x151, 0x18008e7a1