{"type": "func", "start": 6443044896, "end": 6443045055, "name": "cocos2d::CCSpriteBatchNode::addChild", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::addChild from 0x180091020 to 0x1800910bf (159 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800f2550\n// > <???> @ 0x18010a508\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c021c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:08 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteBatchNode::addChild(\n        cocos2d::CCSpriteBatchNode *this,\n        struct cocos2d::CCNode *a2,\n        unsigned int a3,\n        int a4)\n{\n  __int64 v8; // rax\n  __int64 v9; // rax\n\n  _RTDynamicCast(a2, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCSprite `RTTI Type Descriptor', 0);\n  v8 = (*(__int64 (__fastcall **)(char *))(*((_QWORD *)a2 + 43) + 16LL))((char *)a2 + 344);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 96LL))(v8);\n  v9 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 88LL))(*((_QWORD *)this + 41));\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 96LL))(v9);\n  cocos2d::CCNode::addChild(this, a2, a3, a4);\n  cocos2d::CCSpriteBatchNode::appendChild(this, a2);\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::addChild from 0x180091020 to 0x1800910bf (159 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800f2550\n; > <???> @ 0x18010a508\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c021c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:08 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180091020\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180091025\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18009102a\npush    rdi                                                            ; +0xf, 0x18009102f\nsub     rsp, 30h                                                       ; +0x10, 0x180091030\nmov     rsi, rdx                                                       ; +0x14, 0x180091034\nmov     [rsp+38h+var_18], 0                                            ; +0x17, 0x180091037\nmov     ebx, r9d                                                       ; +0x1f, 0x18009103f\nmov     edi, r8d                                                       ; +0x22, 0x180091042\nmov     rbp, rcx                                                       ; +0x25, 0x180091045\nlea     r9, ??_R0?AVCCSprite@cocos2d@@@8; cocos2d::CCSprite `RTTI Type Descriptor' ; +0x28, 0x180091048\nmov     rcx, rsi                                                       ; +0x2f, 0x18009104f\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x32, 0x180091052\nxor     edx, edx                                                       ; +0x39, 0x180091059\ncall    __RTDynamicCast                                                ; +0x3b, 0x18009105b\nlea     rcx, [rsi+158h]                                                ; +0x40, 0x180091060\nmov     rax, [rcx]                                                     ; +0x47, 0x180091067\ncall    qword ptr [rax+10h]                                            ; +0x4a, 0x18009106a\nmov     rcx, rax                                                       ; +0x4d, 0x18009106d\nmov     rdx, [rax]                                                     ; +0x50, 0x180091070\ncall    qword ptr [rdx+60h]                                            ; +0x53, 0x180091073\nmov     rcx, [rbp+148h]                                                ; +0x56, 0x180091076\nmov     rax, [rcx]                                                     ; +0x5d, 0x18009107d\ncall    qword ptr [rax+58h]                                            ; +0x60, 0x180091080\nmov     rcx, [rax]                                                     ; +0x63, 0x180091083\nmov     rdx, [rcx+60h]                                                 ; +0x66, 0x180091086\nmov     rcx, rax                                                       ; +0x6a, 0x18009108a\ncall    rdx                                                            ; +0x6d, 0x18009108d\nmov     r9d, ebx; int                                                  ; +0x6f, 0x18009108f\nmov     r8d, edi; int                                                  ; +0x72, 0x180091092\nmov     rdx, rsi; struct cocos2d::CCNode *                             ; +0x75, 0x180091095\nmov     rcx, rbp; this                                                 ; +0x78, 0x180091098\ncall    ?addChild@CCNode@cocos2d@@UEAAXPEAV12@HH@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *,int,int) ; +0x7b, 0x18009109b\nmov     rdx, rsi; struct cocos2d::CCSprite *                           ; +0x80, 0x1800910a0\nmov     rcx, rbp; this                                                 ; +0x83, 0x1800910a3\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x86, 0x1800910a6\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x8b, 0x1800910ab\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x90, 0x1800910b0\nadd     rsp, 30h                                                       ; +0x95, 0x1800910b5\npop     rdi                                                            ; +0x99, 0x1800910b9\njmp     ?appendChild@CCSpriteBatchNode@cocos2d@@QEAAXPEAVCCSprite@2@@Z; cocos2d::CCSpriteBatchNode::appendChild(cocos2d::CCSprite *) ; +0x9a, 0x1800910ba", "xrefs": ["<???> @ 0x1800f2550", "<???> @ 0x18010a508", "<???> @ 0x18014cf68", "<???> @ 0x1801c021c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}