{"type": "func", "start": 4671392, "end": 4671456, "name": "GJBaseGameLayer::prepareTransformParent", "pseudocode": "// \n// GJBaseGameLayer::prepareTransformParent from 0x4747a0 to 0x4747e0 (64 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::rotateObjects @ 0x4748e0\n// > GJBaseGameLayer::transformAreaObjects @ 0x47d0c0\n// > GJBaseGameLayer::rotateAreaObjects @ 0x47d764\n// > GJBaseGameLayer::processRotationActions @ 0x47f672\n// > GJBaseGameLayer::processTransformActions @ 0x47fce2\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 GJBaseGameLayer::prepareTransformParent(GJBaseGameLayer *a1, bool a2)\n{\n  _BOOL4 v3; // r5\n  cocos2d::CCNode *m_areaRotateNode; // r0\n\n  v3 = a2;\n  cocos2d::CCObject::retain(a1->m_areaTransformNode2);\n  a1->m_areaTransformNode2->removeFromParentAndCleanup(a1->m_areaTransformNode2, 0);\n  if ( v3 )\n    m_areaRotateNode = a1->m_areaRotateNode;\n  else\n    m_areaRotateNode = a1->m_areaTransformNode;\n  m_areaRotateNode->addChild(m_areaRotateNode, a1->m_areaTransformNode2);\n  cocos2d::CCObject::release(a1->m_areaTransformNode2);\n}", "assembly": "; \n; GJBaseGameLayer::prepareTransformParent from 0x4747a0 to 0x4747e0 (64 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::rotateObjects @ 0x4748e0\n; > GJBaseGameLayer::transformAreaObjects @ 0x47d0c0\n; > GJBaseGameLayer::rotateAreaObjects @ 0x47d764\n; > GJBaseGameLayer::processRotationActions @ 0x47f672\n; > GJBaseGameLayer::processTransformActions @ 0x47fce2\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            {R3-R5,LR}                                             ; +0x0, 0x4747a0\nMOV             R4, R0                                                 ; +0x2, 0x4747a2\nLDR.W           R0, [R0,#0x644]; this                                  ; +0x4, 0x4747a4\nMOV             R5, R1                                                 ; +0x8, 0x4747a8\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0xa, 0x4747aa\nLDR.W           R0, [R4,#0x644]                                        ; +0xe, 0x4747ae\nMOVS            R1, #0                                                 ; +0x12, 0x4747b2\nLDR             R3, [R0]                                               ; +0x14, 0x4747b4\nLDR.W           R3, [R3,#0x100]                                        ; +0x16, 0x4747b6\nBLX             R3                                                     ; +0x1a, 0x4747ba\nCBZ             R5, loc_4747C4                                         ; +0x1c, 0x4747bc\nLDR.W           R0, [R4,#0x640]                                        ; +0x1e, 0x4747be\nB               loc_4747C8                                             ; +0x22, 0x4747c2\nLDR.W           R0, [R4,#0x634]                                        ; +0x24, 0x4747c4\nLDR             R3, [R0]                                               ; +0x28, 0x4747c8\nLDR.W           R1, [R4,#0x644]                                        ; +0x2a, 0x4747ca\nLDR.W           R3, [R3,#0xDC]                                         ; +0x2e, 0x4747ce\nBLX             R3                                                     ; +0x32, 0x4747d2\nLDR.W           R0, [R4,#0x644]; this                                  ; +0x34, 0x4747d4\nPOP.W           {R3-R5,LR}                                             ; +0x38, 0x4747d8\nB.W             _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x3c, 0x4747dc", "xrefs": ["GJBaseGameLayer::rotateObjects @ 0x4748e0", "GJBaseGameLayer::transformAreaObjects @ 0x47d0c0", "GJBaseGameLayer::rotateAreaObjects @ 0x47d764", "GJBaseGameLayer::processRotationActions @ 0x47f672", "GJBaseGameLayer::processTransformActions @ 0x47fce2"], "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"}