{"type": "func", "start": 4296156880, "end": 4296156977, "name": "GJBaseGameLayer::prepareTransformParent", "pseudocode": "// \n// GJBaseGameLayer::prepareTransformParent from 0x1001226d0 to 0x100122731 (97 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:39 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::prepareTransformParent(_QWORD *a1, int a2)\n{\n  _QWORD *v2; // rax\n\n  cocos2d::CCObject::retain(a1[259]);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)a1[259] + 528LL))(a1[259], 0);\n  v2 = a1 + 255;\n  if ( a2 )\n    v2 = a1 + 258;\n  (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 456LL))(*v2, a1[259]);\n  return cocos2d::CCObject::release(a1[259]);\n}", "assembly": "; \n; GJBaseGameLayer::prepareTransformParent from 0x1001226d0 to 0x100122731 (97 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:39 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001226d0\nmov     rbp, rsp                                                       ; +0x1, 0x1001226d1\npush    r14                                                            ; +0x4, 0x1001226d4\npush    rbx                                                            ; +0x6, 0x1001226d6\nmov     ebx, esi                                                       ; +0x7, 0x1001226d7\nmov     r14, rdi                                                       ; +0x9, 0x1001226d9\nmov     rdi, [rdi+818h]                                                ; +0xc, 0x1001226dc\ncall    cocos2d__CCObject__retain                                      ; +0x13, 0x1001226e3\nmov     rdi, [r14+818h]                                                ; +0x18, 0x1001226e8\nmov     rax, [rdi]                                                     ; +0x1f, 0x1001226ef\nxor     esi, esi                                                       ; +0x22, 0x1001226f2\ncall    qword ptr [rax+210h]                                           ; +0x24, 0x1001226f4\nmov     rsi, [r14+818h]                                                ; +0x2a, 0x1001226fa\nlea     rax, [r14+7F8h]                                                ; +0x31, 0x100122701\nlea     rcx, [r14+810h]                                                ; +0x38, 0x100122708\ntest    ebx, ebx                                                       ; +0x3f, 0x10012270f\ncmovnz  rax, rcx                                                       ; +0x41, 0x100122711\nmov     rdi, [rax]                                                     ; +0x45, 0x100122715\nmov     rax, [rdi]                                                     ; +0x48, 0x100122718\ncall    qword ptr [rax+1C8h]                                           ; +0x4b, 0x10012271b\nmov     rdi, [r14+818h]                                                ; +0x51, 0x100122721\npop     rbx                                                            ; +0x58, 0x100122728\npop     r14                                                            ; +0x59, 0x100122729\npop     rbp                                                            ; +0x5b, 0x10012272b\njmp     cocos2d__CCObject__release                                     ; +0x5c, 0x10012272c", "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"}