{"type": "func", "start": 4299097728, "end": 4299097824, "name": "GJTransformControl::applyRotation", "pseudocode": "// \n// GJTransformControl::applyRotation from 0x1003f0680 to 0x1003f06e0 (96 bytes)\n// \n// 2 xrefs:\n// > EditorUI::updateTransformControl @ 0x1003f00d8\n// > EditorUI::transformObjectCall_1 @ 0x1003f63c0\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 GJTransformControl::applyRotation(GJTransformControl *a1, float a2)\n{\n  GJTransformControlDelegate *m_delegate; // x0\n\n  if ( a1->m_rotationY != a2 )\n  {\n    a1->m_rotationY = a2;\n    ((void (__fastcall *)(cocos2d::CCNode *))a1->m_mainNode->setRotation)(a1->m_mainNode);\n    m_delegate = a1->m_delegate;\n    if ( m_delegate )\n      ((void (__fastcall *)(GJTransformControlDelegate *, float))m_delegate->transformRotationChanged)(\n        m_delegate,\n        a1->m_rotationY);\n  }\n  GJTransformControl::updateButtons(a1, 0, 0);\n}", "assembly": "; \n; GJTransformControl::applyRotation from 0x1003f0680 to 0x1003f06e0 (96 bytes)\n; \n; 2 xrefs:\n; > EditorUI::updateTransformControl @ 0x1003f00d8\n; > EditorUI::transformObjectCall_1 @ 0x1003f63c0\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003f0680\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003f0684\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003f0688\nMOV             X19, X0                                                ; +0xc, 0x1003f068c\nLDR             S1, [X0,#0x220]                                        ; +0x10, 0x1003f0690\nFCMP            S1, S0                                                 ; +0x14, 0x1003f0694\nB.EQ            loc_1003F06C8                                          ; +0x18, 0x1003f0698\nSTR             S0, [X19,#0x220]                                       ; +0x1c, 0x1003f069c\nLDR             X0, [X19,#0x1A0]                                       ; +0x20, 0x1003f06a0\nLDR             X8, [X0]                                               ; +0x24, 0x1003f06a4\nLDR             X8, [X8,#0x158]                                        ; +0x28, 0x1003f06a8\nBLR             X8                                                     ; +0x2c, 0x1003f06ac\nLDR             X0, [X19,#0x1B8]                                       ; +0x30, 0x1003f06b0\nCBZ             X0, loc_1003F06C8                                      ; +0x34, 0x1003f06b4\nLDR             S0, [X19,#0x220]                                       ; +0x38, 0x1003f06b8\nLDR             X8, [X0]                                               ; +0x3c, 0x1003f06bc\nLDR             X8, [X8,#0x28]                                         ; +0x40, 0x1003f06c0\nBLR             X8                                                     ; +0x44, 0x1003f06c4\nMOV             X0, X19                                                ; +0x48, 0x1003f06c8\nMOV             W1, #0                                                 ; +0x4c, 0x1003f06cc\nMOV             W2, #0                                                 ; +0x50, 0x1003f06d0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1003f06d4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1003f06d8\nB               GJTransformControl__updateButtons                      ; +0x5c, 0x1003f06dc", "xrefs": ["EditorUI::updateTransformControl @ 0x1003f00d8", "EditorUI::transformObjectCall_1 @ 0x1003f63c0"], "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"}