{"type": "func", "start": 4296294688, "end": 4296294785, "name": "GJBaseGameLayer::prepareTransformParent", "pseudocode": "// \n// GJBaseGameLayer::prepareTransformParent from 0x100144120 to 0x100144181 (97 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\nvoid __fastcall GJBaseGameLayer::prepareTransformParent(GJBaseGameLayer *a1, bool a2)\n{\n  cocos2d::CCNode **p_m_areaTransformNode; // rax\n\n  cocos2d::CCObject::retain(a1->m_areaTransformNode2);\n  ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a1->m_areaTransformNode2->removeFromParentAndCleanup)(\n    a1->m_areaTransformNode2,\n    0);\n  p_m_areaTransformNode = &a1->m_areaTransformNode;\n  if ( a2 )\n    p_m_areaTransformNode = &a1->m_areaRotateNode;\n  ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCNode *))(*p_m_areaTransformNode)->addChild)(\n    *p_m_areaTransformNode,\n    a1->m_areaTransformNode2);\n  cocos2d::CCObject::release(a1->m_areaTransformNode2);\n}", "assembly": "; \n; GJBaseGameLayer::prepareTransformParent from 0x100144120 to 0x100144181 (97 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, 0x100144120\nmov     rbp, rsp                                                       ; +0x1, 0x100144121\npush    r14                                                            ; +0x4, 0x100144124\npush    rbx                                                            ; +0x6, 0x100144126\nmov     ebx, esi                                                       ; +0x7, 0x100144127\nmov     r14, rdi                                                       ; +0x9, 0x100144129\nmov     rdi, [rdi+800h]                                                ; +0xc, 0x10014412c\ncall    cocos2d__CCObject__retain                                      ; +0x13, 0x100144133\nmov     rdi, [r14+800h]                                                ; +0x18, 0x100144138\nmov     rax, [rdi]                                                     ; +0x1f, 0x10014413f\nxor     esi, esi                                                       ; +0x22, 0x100144142\ncall    qword ptr [rax+200h]                                           ; +0x24, 0x100144144\nmov     rsi, [r14+800h]                                                ; +0x2a, 0x10014414a\nlea     rax, [r14+7E0h]                                                ; +0x31, 0x100144151\nlea     rcx, [r14+7F8h]                                                ; +0x38, 0x100144158\ntest    ebx, ebx                                                       ; +0x3f, 0x10014415f\ncmovnz  rax, rcx                                                       ; +0x41, 0x100144161\nmov     rdi, [rax]                                                     ; +0x45, 0x100144165\nmov     rax, [rdi]                                                     ; +0x48, 0x100144168\ncall    qword ptr [rax+1B8h]                                           ; +0x4b, 0x10014416b\nmov     rdi, [r14+800h]                                                ; +0x51, 0x100144171\npop     rbx                                                            ; +0x58, 0x100144178\npop     r14                                                            ; +0x59, 0x100144179\npop     rbp                                                            ; +0x5b, 0x10014417b\njmp     cocos2d__CCObject__release                                     ; +0x5c, 0x10014417c", "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"}