{"type": "func", "start": 6442465056, "end": 6442465133, "name": "cocos2d::CCNode::insertChild", "pseudocode": "// \n// cocos2d::CCNode::insertChild from 0x180003720 to 0x18000376d (77 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b72f4\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:21:17 +0000\n// \n\nvoid __fastcall cocos2d::CCNode::insertChild(cocos2d::CCNode *this, struct cocos2d::CCNode *a2, unsigned int a3)\n{\n  __int64 v3; // rax\n  bool v5; // zf\n  __int64 v7; // rcx\n\n  v3 = *((_QWORD *)this + 26);\n  v5 = *((_BYTE *)this + 312) == 0;\n  *((_BYTE *)this + 288) = 1;\n  v7 = *(_QWORD *)(v3 + 56);\n  if ( v5 )\n    sub_1800A12A0(v7, a2);\n  else\n    sub_1800A1380(v7, a2);\n  (*(void (__fastcall **)(struct cocos2d::CCNode *, _QWORD))(*(_QWORD *)a2 + 88LL))(a2, a3);\n}", "assembly": "; \n; cocos2d::CCNode::insertChild from 0x180003720 to 0x18000376d (77 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b72f4\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:21:17 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180003720\npush    rdi                                                            ; +0x5, 0x180003725\nsub     rsp, 20h                                                       ; +0x6, 0x180003726\nmov     rax, [rcx+0D0h]                                                ; +0xa, 0x18000372a\nmov     edi, r8d                                                       ; +0x11, 0x180003731\ncmp     byte ptr [rcx+138h], 0                                         ; +0x14, 0x180003734\nmov     rbx, rdx                                                       ; +0x1b, 0x18000373b\nmov     byte ptr [rcx+120h], 1                                         ; +0x1e, 0x18000373e\nmov     rcx, [rax+38h]                                                 ; +0x25, 0x180003745\njz      short loc_180003752                                            ; +0x29, 0x180003749\ncall    sub_1800A1380                                                  ; +0x2b, 0x18000374b\njmp     short loc_180003757                                            ; +0x30, 0x180003750\ncall    sub_1800A12A0                                                  ; +0x32, 0x180003752\nmov     rax, [rbx]                                                     ; +0x37, 0x180003757\nmov     edx, edi                                                       ; +0x3a, 0x18000375a\nmov     rcx, rbx                                                       ; +0x3c, 0x18000375c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3f, 0x18000375f\nadd     rsp, 20h                                                       ; +0x44, 0x180003764\npop     rdi                                                            ; +0x48, 0x180003768\njmp     qword ptr [rax+58h]                                            ; +0x49, 0x180003769", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b72f4"], "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"}