{"type": "func", "start": 4296018528, "end": 4296018668, "name": "GameObjectCopy::init", "pseudocode": "// \n// GameObjectCopy::init from 0x100100a60 to 0x100100aec (140 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\nbool __fastcall GameObjectCopy::init(GameObjectCopy *a1, GameObject *a2)\n{\n  __int64 v2; // rsi\n  double v3; // xmm0_8\n\n  a1->m_object = a2;\n  cocos2d::CCObject::retain(a2);\n  v2 = ((__int64 (__fastcall *)(GameObject *))a1->m_object->getPosition)(a1->m_object);\n  v3 = sub_10028CC90();\n  a1->m_rotationX = ((float (__fastcall *)(GameObject *, __int64, double))a1->m_object->getRotationX)(\n                      a1->m_object,\n                      v2,\n                      v3);\n  a1->m_rotationY = ((float (__fastcall *)(GameObject *))a1->m_object->getRotationY)(a1->m_object);\n  a1->m_isFlipX = ((__int64 (__fastcall *)(GameObject *))a1->m_object->isFlipX)(a1->m_object);\n  a1->m_isFlipY = ((__int64 (__fastcall *)(GameObject *))a1->m_object->isFlipY)(a1->m_object);\n  *(_QWORD *)&a1->m_customScaleX = *(_QWORD *)&a1->m_object->m_scaleX;\n  return 1;\n}", "assembly": "; \n; GameObjectCopy::init from 0x100100a60 to 0x100100aec (140 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, 0x100100a60\nmov     rbp, rsp                                                       ; +0x1, 0x100100a61\npush    rbx                                                            ; +0x4, 0x100100a64\npush    rax                                                            ; +0x5, 0x100100a65\nmov     rbx, rdi                                                       ; +0x6, 0x100100a66\nmov     [rdi+38h], rsi                                                 ; +0x9, 0x100100a69\nmov     rdi, rsi                                                       ; +0xd, 0x100100a6d\ncall    cocos2d__CCObject__retain                                      ; +0x10, 0x100100a70\nmov     rdi, [rbx+38h]                                                 ; +0x15, 0x100100a75\nmov     rax, [rdi]                                                     ; +0x19, 0x100100a79\ncall    qword ptr [rax+0C0h]                                           ; +0x1c, 0x100100a7c\nlea     rdi, [rbx+40h]                                                 ; +0x22, 0x100100a82\nmov     rsi, rax                                                       ; +0x26, 0x100100a86\ncall    sub_10028CC90                                                  ; +0x29, 0x100100a89\nmov     rdi, [rbx+38h]                                                 ; +0x2e, 0x100100a8e\nmov     rax, [rdi]                                                     ; +0x32, 0x100100a92\ncall    qword ptr [rax+170h]                                           ; +0x35, 0x100100a95\nmovss   dword ptr [rbx+48h], xmm0                                      ; +0x3b, 0x100100a9b\nmov     rdi, [rbx+38h]                                                 ; +0x40, 0x100100aa0\nmov     rax, [rdi]                                                     ; +0x44, 0x100100aa4\ncall    qword ptr [rax+180h]                                           ; +0x47, 0x100100aa7\nmovss   dword ptr [rbx+4Ch], xmm0                                      ; +0x4d, 0x100100aad\nmov     rdi, [rbx+38h]                                                 ; +0x52, 0x100100ab2\nmov     rax, [rdi]                                                     ; +0x56, 0x100100ab6\ncall    qword ptr [rax+580h]                                           ; +0x59, 0x100100ab9\nmov     [rbx+50h], al                                                  ; +0x5f, 0x100100abf\nmov     rdi, [rbx+38h]                                                 ; +0x62, 0x100100ac2\nmov     rax, [rdi]                                                     ; +0x66, 0x100100ac6\ncall    qword ptr [rax+588h]                                           ; +0x69, 0x100100ac9\nmov     [rbx+51h], al                                                  ; +0x6f, 0x100100acf\nmov     rax, [rbx+38h]                                                 ; +0x72, 0x100100ad2\nmovsd   xmm0, qword ptr [rax+480h]                                     ; +0x76, 0x100100ad6\nmovsd   qword ptr [rbx+54h], xmm0                                      ; +0x7e, 0x100100ade\nmov     al, 1                                                          ; +0x83, 0x100100ae3\nadd     rsp, 8                                                         ; +0x85, 0x100100ae5\npop     rbx                                                            ; +0x89, 0x100100ae9\npop     rbp                                                            ; +0x8a, 0x100100aea\nretn                                                                   ; +0x8b, 0x100100aeb", "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"}