{"type": "func", "start": 4296121136, "end": 4296121252, "name": "GJBaseGameLayer::reparentObject", "pseudocode": "// \n// GJBaseGameLayer::reparentObject from 0x100119b30 to 0x100119ba4 (116 bytes)\n// \n// 0 xrefs:\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:24:35 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::reparentObject(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 result; // rax\n  unsigned int v5; // eax\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 512LL))(a2);\n  if ( result != a3 )\n  {\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n    if ( (_DWORD)result != -9999 )\n    {\n      cocos2d::CCObject::retain(a2);\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 528LL))(a2, 0);\n      if ( a3 )\n      {\n        v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 104LL))(a2);\n        (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a3 + 464LL))(a3, a2, v5);\n      }\n      return cocos2d::CCObject::release(a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::reparentObject from 0x100119b30 to 0x100119ba4 (116 bytes)\n; \n; 0 xrefs:\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:24:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x100119b30\nmov     rbp, rsp                                                       ; +0x1, 0x100119b31\npush    r14                                                            ; +0x4, 0x100119b34\npush    rbx                                                            ; +0x6, 0x100119b36\nmov     r14, rdx                                                       ; +0x7, 0x100119b37\nmov     rbx, rsi                                                       ; +0xa, 0x100119b3a\nmov     rax, [rsi]                                                     ; +0xd, 0x100119b3d\nmov     rdi, rsi                                                       ; +0x10, 0x100119b40\ncall    qword ptr [rax+200h]                                           ; +0x13, 0x100119b43\ncmp     rax, r14                                                       ; +0x19, 0x100119b49\njz      short loc_100119B5E                                            ; +0x1c, 0x100119b4c\nmov     rax, [rbx]                                                     ; +0x1e, 0x100119b4e\nmov     rdi, rbx                                                       ; +0x21, 0x100119b51\ncall    qword ptr [rax+40h]                                            ; +0x24, 0x100119b54\ncmp     eax, 0FFFFD8F1h                                                ; +0x27, 0x100119b57\njnz     short loc_100119B63                                            ; +0x2c, 0x100119b5c\npop     rbx                                                            ; +0x2e, 0x100119b5e\npop     r14                                                            ; +0x2f, 0x100119b5f\npop     rbp                                                            ; +0x31, 0x100119b61\nretn                                                                   ; +0x32, 0x100119b62\nmov     rdi, rbx                                                       ; +0x33, 0x100119b63\ncall    cocos2d__CCObject__retain                                      ; +0x36, 0x100119b66\nmov     rax, [rbx]                                                     ; +0x3b, 0x100119b6b\nmov     rdi, rbx                                                       ; +0x3e, 0x100119b6e\nxor     esi, esi                                                       ; +0x41, 0x100119b71\ncall    qword ptr [rax+210h]                                           ; +0x43, 0x100119b73\ntest    r14, r14                                                       ; +0x49, 0x100119b79\njz      short loc_100119B98                                            ; +0x4c, 0x100119b7c\nmov     rax, [rbx]                                                     ; +0x4e, 0x100119b7e\nmov     rdi, rbx                                                       ; +0x51, 0x100119b81\ncall    qword ptr [rax+68h]                                            ; +0x54, 0x100119b84\nmov     rcx, [r14]                                                     ; +0x57, 0x100119b87\nmov     rdi, r14                                                       ; +0x5a, 0x100119b8a\nmov     rsi, rbx                                                       ; +0x5d, 0x100119b8d\nmov     edx, eax                                                       ; +0x60, 0x100119b90\ncall    qword ptr [rcx+1D0h]                                           ; +0x62, 0x100119b92\nmov     rdi, rbx                                                       ; +0x68, 0x100119b98\npop     rbx                                                            ; +0x6b, 0x100119b9b\npop     r14                                                            ; +0x6c, 0x100119b9c\npop     rbp                                                            ; +0x6e, 0x100119b9e\njmp     cocos2d__CCObject__release                                     ; +0x6f, 0x100119b9f", "xrefs": [], "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"}