{"type": "func", "start": 5372884608, "end": 5372884700, "name": "SetGroupIDLayer::onCopy", "pseudocode": "// \n// SetGroupIDLayer::onCopy from 0x1403fb680 to 0x1403fb6dc (92 bytes)\n// \n// 2 xrefs:\n// > SetGroupIDLayer::init @ 0x1403fa10a\n// > <???> @ 0x1406d8450\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 SetGroupIDLayer::onCopy(SetGroupIDLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rcx\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  v3 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v4 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  LevelEditorLayer::copyObjectState(*(LevelEditorLayer **)(v3 + 528), a1->m_targetObject);\n}", "assembly": "; \n; SetGroupIDLayer::onCopy from 0x1403fb680 to 0x1403fb6dc (92 bytes)\n; \n; 2 xrefs:\n; > SetGroupIDLayer::init @ 0x1403fa10a\n; > <???> @ 0x1406d8450\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    rbx                                                            ; +0x0, 0x1403fb680\nsub     rsp, 20h                                                       ; +0x2, 0x1403fb682\nmov     rbx, rcx                                                       ; +0x6, 0x1403fb686\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x9, 0x1403fb689\ntest    rcx, rcx                                                       ; +0x10, 0x1403fb690\njnz     short loc_1403FB6C4                                            ; +0x13, 0x1403fb693\nmov     ecx, 668h; Size                                                ; +0x15, 0x1403fb695\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1403fb69a\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1403fb69f\nmov     rcx, rax                                                       ; +0x24, 0x1403fb6a4\ncall    sub_14017AB00                                                  ; +0x27, 0x1403fb6a7\nnop                                                                    ; +0x2c, 0x1403fb6ac\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2d, 0x1403fb6ad\nmov     rdx, [rax]                                                     ; +0x34, 0x1403fb6b4\nmov     rcx, rax                                                       ; +0x37, 0x1403fb6b7\ncall    qword ptr [rdx+48h]                                            ; +0x3a, 0x1403fb6ba\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x3d, 0x1403fb6bd\nmov     rdx, [rbx+288h]                                                ; +0x44, 0x1403fb6c4\nmov     rcx, [rcx+210h]                                                ; +0x4b, 0x1403fb6cb\nadd     rsp, 20h                                                       ; +0x52, 0x1403fb6d2\npop     rbx                                                            ; +0x56, 0x1403fb6d6\njmp     LevelEditorLayer__copyObjectState                              ; +0x57, 0x1403fb6d7", "xrefs": ["SetGroupIDLayer::init @ 0x1403fa10a", "<???> @ 0x1406d8450"], "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"}