{"type": "func", "start": 6442819376, "end": 6442819477, "name": "cocos2d::CCMenu::addChild", "pseudocode": "// \n// cocos2d::CCMenu::addChild from 0x180059f30 to 0x180059f95 (101 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800fd2f0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bccac\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:48 +0000\n// \n\nvoid __fastcall cocos2d::CCMenu::addChild(cocos2d::CCMenu *this, struct cocos2d::CCNode *a2, unsigned int a3, int a4)\n{\n  _RTDynamicCast(a2, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCMenuItem `RTTI Type Descriptor', 0);\n  cocos2d::CCNode::addChild(this, a2, a3, a4);\n}", "assembly": "; \n; cocos2d::CCMenu::addChild from 0x180059f30 to 0x180059f95 (101 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800fd2f0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bccac\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:48 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180059f30\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180059f35\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180059f3a\npush    rdi                                                            ; +0xf, 0x180059f3f\nsub     rsp, 30h                                                       ; +0x10, 0x180059f40\nmov     rsi, rdx                                                       ; +0x14, 0x180059f44\nmov     [rsp+38h+var_18], 0                                            ; +0x17, 0x180059f47\nmov     ebx, r9d                                                       ; +0x1f, 0x180059f4f\nmov     edi, r8d                                                       ; +0x22, 0x180059f52\nmov     rbp, rcx                                                       ; +0x25, 0x180059f55\nlea     r9, ??_R0?AVCCMenuItem@cocos2d@@@8; cocos2d::CCMenuItem `RTTI Type Descriptor' ; +0x28, 0x180059f58\nmov     rcx, rsi                                                       ; +0x2f, 0x180059f5f\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x32, 0x180059f62\nxor     edx, edx                                                       ; +0x39, 0x180059f69\ncall    __RTDynamicCast                                                ; +0x3b, 0x180059f6b\nmov     r9d, ebx; int                                                  ; +0x40, 0x180059f70\nmov     r8d, edi; int                                                  ; +0x43, 0x180059f73\nmov     rdx, rsi; struct cocos2d::CCNode *                             ; +0x46, 0x180059f76\nmov     rcx, rbp; this                                                 ; +0x49, 0x180059f79\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x4c, 0x180059f7c\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x51, 0x180059f81\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x56, 0x180059f86\nadd     rsp, 30h                                                       ; +0x5b, 0x180059f8b\npop     rdi                                                            ; +0x5f, 0x180059f8f\njmp     ?addChild@CCNode@cocos2d@@UEAAXPEAV12@HH@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *,int,int) ; +0x60, 0x180059f90", "xrefs": ["<???> @ 0x1800fd2f0", "<???> @ 0x18014cf68", "<???> @ 0x1801bccac"], "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"}