{"type": "func", "start": 4295699856, "end": 4295700084, "name": "GameObjectCopy::create", "pseudocode": "// \n// GameObjectCopy::create from 0x1000b2d90 to 0x1000b2e74 (228 bytes)\n// \n// 4 xrefs:\n// > UndoObject::create @ 0x1000af473\n// > LevelEditorLayer::handleAction @ 0x1000b2532\n// > UndoObject::init_1 @ 0x1000d6794\n// > UndoObject::initWithTransformObjects @ 0x1000d68de\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 12:20:20 +0000\n// \n\nchar *__fastcall GameObjectCopy::create(__int64 a1)\n{\n  char *v1; // rbx\n  __int64 v2; // rsi\n\n  v1 = (char *)operator new(0x60u);\n  *(_OWORD *)v1 = 0;\n  *((_OWORD *)v1 + 1) = 0;\n  *((_OWORD *)v1 + 2) = 0;\n  *((_OWORD *)v1 + 3) = 0;\n  *((_OWORD *)v1 + 4) = 0;\n  *((_OWORD *)v1 + 5) = 0;\n  cocos2d::CCObject::CCObject(v1);\n  *(_QWORD *)v1 = off_100AC4120;\n  sub_1002782A0(v1 + 64);\n  *((_QWORD *)v1 + 7) = a1;\n  cocos2d::CCObject::retain(a1);\n  v2 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 192LL))(*((_QWORD *)v1 + 7));\n  sub_100278300(v1 + 64, v2);\n  *((float *)v1 + 18) = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 384LL))(*((_QWORD *)v1 + 7));\n  *((float *)v1 + 19) = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 400LL))(*((_QWORD *)v1 + 7));\n  v1[80] = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 1424LL))(*((_QWORD *)v1 + 7));\n  v1[81] = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 1432LL))(*((_QWORD *)v1 + 7));\n  *(_QWORD *)(v1 + 84) = *(_QWORD *)(*((_QWORD *)v1 + 7) + 1152LL);\n  cocos2d::CCObject::autorelease(v1);\n  return v1;\n}", "assembly": "; \n; GameObjectCopy::create from 0x1000b2d90 to 0x1000b2e74 (228 bytes)\n; \n; 4 xrefs:\n; > UndoObject::create @ 0x1000af473\n; > LevelEditorLayer::handleAction @ 0x1000b2532\n; > UndoObject::init_1 @ 0x1000d6794\n; > UndoObject::initWithTransformObjects @ 0x1000d68de\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 12:20:20 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000b2d90\nmov     rbp, rsp                                                       ; +0x1, 0x1000b2d91\npush    r15                                                            ; +0x4, 0x1000b2d94\npush    r14                                                            ; +0x6, 0x1000b2d96\npush    rbx                                                            ; +0x8, 0x1000b2d98\npush    rax                                                            ; +0x9, 0x1000b2d99\nmov     r15, rdi                                                       ; +0xa, 0x1000b2d9a\nmov     edi, 60h ; '`'; __sz                                           ; +0xd, 0x1000b2d9d\ncall    __Znwm; operator new(ulong)                                    ; +0x12, 0x1000b2da2\nmov     r14, rax                                                       ; +0x17, 0x1000b2da7\nmov     rbx, rax                                                       ; +0x1a, 0x1000b2daa\nxorps   xmm0, xmm0                                                     ; +0x1d, 0x1000b2dad\nmovaps  xmmword ptr [rax], xmm0                                        ; +0x20, 0x1000b2db0\nmovaps  xmmword ptr [rax+10h], xmm0                                    ; +0x23, 0x1000b2db3\nmovaps  xmmword ptr [rax+20h], xmm0                                    ; +0x27, 0x1000b2db7\nmovaps  xmmword ptr [rax+30h], xmm0                                    ; +0x2b, 0x1000b2dbb\nmovaps  xmmword ptr [rax+40h], xmm0                                    ; +0x2f, 0x1000b2dbf\nmovaps  xmmword ptr [rax+50h], xmm0                                    ; +0x33, 0x1000b2dc3\nmov     rdi, rax                                                       ; +0x37, 0x1000b2dc7\ncall    cocos2d__CCObject__CCObject                                    ; +0x3a, 0x1000b2dca\nlea     rax, off_100AC4120                                             ; +0x3f, 0x1000b2dcf\nmov     [rbx], rax                                                     ; +0x46, 0x1000b2dd6\nadd     r14, 40h ; '@'                                                 ; +0x49, 0x1000b2dd9\nmov     rdi, r14                                                       ; +0x4d, 0x1000b2ddd\ncall    sub_1002782A0                                                  ; +0x50, 0x1000b2de0\nmov     [rbx+38h], r15                                                 ; +0x55, 0x1000b2de5\nmov     rdi, r15                                                       ; +0x59, 0x1000b2de9\ncall    cocos2d__CCObject__retain                                      ; +0x5c, 0x1000b2dec\nmov     rdi, [rbx+38h]                                                 ; +0x61, 0x1000b2df1\nmov     rax, [rdi]                                                     ; +0x65, 0x1000b2df5\ncall    qword ptr [rax+0C0h]                                           ; +0x68, 0x1000b2df8\nmov     rdi, r14                                                       ; +0x6e, 0x1000b2dfe\nmov     rsi, rax                                                       ; +0x71, 0x1000b2e01\ncall    sub_100278300                                                  ; +0x74, 0x1000b2e04\nmov     rdi, [rbx+38h]                                                 ; +0x79, 0x1000b2e09\nmov     rax, [rdi]                                                     ; +0x7d, 0x1000b2e0d\ncall    qword ptr [rax+180h]                                           ; +0x80, 0x1000b2e10\nmovss   dword ptr [rbx+48h], xmm0                                      ; +0x86, 0x1000b2e16\nmov     rdi, [rbx+38h]                                                 ; +0x8b, 0x1000b2e1b\nmov     rax, [rdi]                                                     ; +0x8f, 0x1000b2e1f\ncall    qword ptr [rax+190h]                                           ; +0x92, 0x1000b2e22\nmovss   dword ptr [rbx+4Ch], xmm0                                      ; +0x98, 0x1000b2e28\nmov     rdi, [rbx+38h]                                                 ; +0x9d, 0x1000b2e2d\nmov     rax, [rdi]                                                     ; +0xa1, 0x1000b2e31\ncall    qword ptr [rax+590h]                                           ; +0xa4, 0x1000b2e34\nmov     [rbx+50h], al                                                  ; +0xaa, 0x1000b2e3a\nmov     rdi, [rbx+38h]                                                 ; +0xad, 0x1000b2e3d\nmov     rax, [rdi]                                                     ; +0xb1, 0x1000b2e41\ncall    qword ptr [rax+598h]                                           ; +0xb4, 0x1000b2e44\nmov     [rbx+51h], al                                                  ; +0xba, 0x1000b2e4a\nmov     rax, [rbx+38h]                                                 ; +0xbd, 0x1000b2e4d\nmovsd   xmm0, qword ptr [rax+480h]                                     ; +0xc1, 0x1000b2e51\nmovsd   qword ptr [rbx+54h], xmm0                                      ; +0xc9, 0x1000b2e59\nmov     rdi, rbx                                                       ; +0xce, 0x1000b2e5e\ncall    cocos2d__CCObject__autorelease                                 ; +0xd1, 0x1000b2e61\nmov     rax, rbx                                                       ; +0xd6, 0x1000b2e66\nadd     rsp, 8                                                         ; +0xd9, 0x1000b2e69\npop     rbx                                                            ; +0xdd, 0x1000b2e6d\npop     r14                                                            ; +0xde, 0x1000b2e6e\npop     r15                                                            ; +0xe0, 0x1000b2e70\npop     rbp                                                            ; +0xe2, 0x1000b2e72\nretn                                                                   ; +0xe3, 0x1000b2e73", "xrefs": ["UndoObject::create @ 0x1000af473", "LevelEditorLayer::handleAction @ 0x1000b2532", "UndoObject::init_1 @ 0x1000d6794", "UndoObject::initWithTransformObjects @ 0x1000d68de"], "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"}