{"type": "func", "start": 6442811328, "end": 6442811429, "name": "cocos2d::CCMenu::addChild", "pseudocode": "// \n// cocos2d::CCMenu::addChild from 0x180057fc0 to 0x180058025 (101 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f6ea8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2a18\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\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 0x180057fc0 to 0x180058025 (101 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f6ea8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2a18\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, 0x180057fc0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180057fc5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180057fca\npush    rdi                                                            ; +0xf, 0x180057fcf\nsub     rsp, 30h                                                       ; +0x10, 0x180057fd0\nmov     rsi, rdx                                                       ; +0x14, 0x180057fd4\nmov     [rsp+38h+var_18], 0                                            ; +0x17, 0x180057fd7\nmov     ebx, r9d                                                       ; +0x1f, 0x180057fdf\nmov     edi, r8d                                                       ; +0x22, 0x180057fe2\nmov     rbp, rcx                                                       ; +0x25, 0x180057fe5\nlea     r9, ??_R0?AVCCMenuItem@cocos2d@@@8; cocos2d::CCMenuItem `RTTI Type Descriptor' ; +0x28, 0x180057fe8\nmov     rcx, rsi                                                       ; +0x2f, 0x180057fef\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x32, 0x180057ff2\nxor     edx, edx                                                       ; +0x39, 0x180057ff9\ncall    __RTDynamicCast                                                ; +0x3b, 0x180057ffb\nmov     r9d, ebx; int                                                  ; +0x40, 0x180058000\nmov     r8d, edi; int                                                  ; +0x43, 0x180058003\nmov     rdx, rsi; struct cocos2d::CCNode *                             ; +0x46, 0x180058006\nmov     rcx, rbp; this                                                 ; +0x49, 0x180058009\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x4c, 0x18005800c\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x51, 0x180058011\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x56, 0x180058016\nadd     rsp, 30h                                                       ; +0x5b, 0x18005801b\npop     rdi                                                            ; +0x5f, 0x18005801f\njmp     ?addChild@CCNode@cocos2d@@UEAAXPEAV12@HH@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *,int,int) ; +0x60, 0x180058020", "xrefs": ["<???> @ 0x1800f6ea8", "<???> @ 0x1801438a8", "<???> @ 0x1801b2a18"], "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"}