{"type": "func", "start": 6443034032, "end": 6443034112, "name": "cocos2d::CCSpriteBatchNode::init", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::init from 0x18008e5b0 to 0x18008e600 (80 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180103cc8\n// > <???> @ 0x180105a30\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b600c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nbool __fastcall cocos2d::CCSpriteBatchNode::init(cocos2d::CCSpriteBatchNode *this)\n{\n  cocos2d::CCTexture2D *v2; // rax\n  struct cocos2d::CCTexture2D *v3; // rbx\n\n  v2 = (cocos2d::CCTexture2D *)operator new(0x68u);\n  if ( v2 )\n    v3 = (struct cocos2d::CCTexture2D *)cocos2d::CCTexture2D::CCTexture2D(v2);\n  else\n    v3 = nullptr;\n  cocos2d::CCObject::autorelease(v3);\n  return cocos2d::CCSpriteBatchNode::initWithTexture(this, v3, 0);\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::init from 0x18008e5b0 to 0x18008e600 (80 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180103cc8\n; > <???> @ 0x180105a30\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b600c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18008e5b0\npush    rdi                                                            ; +0x5, 0x18008e5b5\nsub     rsp, 20h                                                       ; +0x6, 0x18008e5b6\nmov     rdi, rcx                                                       ; +0xa, 0x18008e5ba\nmov     ecx, 68h ; 'h'; Size                                           ; +0xd, 0x18008e5bd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x18008e5c2\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x18008e5c7\ntest    rax, rax                                                       ; +0x1c, 0x18008e5cc\njz      short loc_18008E5DE                                            ; +0x1f, 0x18008e5cf\nmov     rcx, rax; this                                                 ; +0x21, 0x18008e5d1\ncall    ??0CCTexture2D@cocos2d@@QEAA@XZ; cocos2d::CCTexture2D::CCTexture2D(void) ; +0x24, 0x18008e5d4\nmov     rbx, rax                                                       ; +0x29, 0x18008e5d9\njmp     short loc_18008E5E0                                            ; +0x2c, 0x18008e5dc\nxor     ebx, ebx                                                       ; +0x2e, 0x18008e5de\nmov     rcx, rbx; this                                                 ; +0x30, 0x18008e5e0\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x33, 0x18008e5e3\nxor     r8d, r8d; unsigned int                                         ; +0x38, 0x18008e5e8\nmov     rdx, rbx; struct cocos2d::CCTexture2D *                        ; +0x3b, 0x18008e5eb\nmov     rcx, rdi; this                                                 ; +0x3e, 0x18008e5ee\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x41, 0x18008e5f1\nadd     rsp, 20h                                                       ; +0x46, 0x18008e5f6\npop     rdi                                                            ; +0x4a, 0x18008e5fa\njmp     ?initWithTexture@CCSpriteBatchNode@cocos2d@@QEAA_NPEAVCCTexture2D@2@I@Z; cocos2d::CCSpriteBatchNode::initWithTexture(cocos2d::CCTexture2D *,uint) ; +0x4b, 0x18008e5fb", "xrefs": ["<???> @ 0x180103cc8", "<???> @ 0x180105a30", "<???> @ 0x1801438a8", "<???> @ 0x1801b600c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}