{"type": "func", "start": 4297953648, "end": 4297953743, "name": "InheritanceNode::create", "pseudocode": "// \n// InheritanceNode::create from 0x1002d9170 to 0x1002d91cf (95 bytes)\n// \n// 0 xrefs:\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\nInheritanceNode *__fastcall InheritanceNode::create(int a1, InheritanceNode *a2)\n{\n  InheritanceNode *v2; // rbx\n\n  v2 = (InheritanceNode *)operator new(0x58u);\n  cocos2d::CCObject::CCObject(v2);\n  v2->__vftable = (InheritanceNode_vtbl *)off_100909FC8;\n  v2->m_colorAction = nullptr;\n  *(_WORD *)&v2->m_unk050 = 1;\n  v2->m_colorID = a1;\n  v2->m_inheritanceNode = a2;\n  cocos2d::CCObject::autorelease(v2);\n  return v2;\n}", "assembly": "; \n; InheritanceNode::create from 0x1002d9170 to 0x1002d91cf (95 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x1002d9170\nmov     rbp, rsp                                                       ; +0x1, 0x1002d9171\npush    r15                                                            ; +0x4, 0x1002d9174\npush    r14                                                            ; +0x6, 0x1002d9176\npush    rbx                                                            ; +0x8, 0x1002d9178\npush    rax                                                            ; +0x9, 0x1002d9179\nmov     r14, rsi                                                       ; +0xa, 0x1002d917a\nmov     r15d, edi                                                      ; +0xd, 0x1002d917d\nmov     edi, 58h ; 'X'; __sz                                           ; +0x10, 0x1002d9180\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1002d9185\nmov     rbx, rax                                                       ; +0x1a, 0x1002d918a\nmov     rdi, rax                                                       ; +0x1d, 0x1002d918d\ncall    cocos2d__CCObject__CCObject                                    ; +0x20, 0x1002d9190\nlea     rax, _ZTV15InheritanceNode; `vtable for'InheritanceNode        ; +0x25, 0x1002d9195\nadd     rax, 10h                                                       ; +0x2c, 0x1002d919c\nmov     [rbx], rax                                                     ; +0x30, 0x1002d91a0\nmov     qword ptr [rbx+48h], 0                                         ; +0x33, 0x1002d91a3\nmov     word ptr [rbx+50h], 1                                          ; +0x3b, 0x1002d91ab\nmov     [rbx+38h], r15d                                                ; +0x41, 0x1002d91b1\nmov     [rbx+40h], r14                                                 ; +0x45, 0x1002d91b5\nmov     rdi, rbx                                                       ; +0x49, 0x1002d91b9\ncall    cocos2d__CCObject__autorelease                                 ; +0x4c, 0x1002d91bc\nmov     rax, rbx                                                       ; +0x51, 0x1002d91c1\nadd     rsp, 8                                                         ; +0x54, 0x1002d91c4\npop     rbx                                                            ; +0x58, 0x1002d91c8\npop     r14                                                            ; +0x59, 0x1002d91c9\npop     r15                                                            ; +0x5b, 0x1002d91cb\npop     rbp                                                            ; +0x5d, 0x1002d91cd\nretn                                                                   ; +0x5e, 0x1002d91ce", "xrefs": [], "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"}