{"type": "func", "start": 4295232912, "end": 4295233004, "name": "GJTransformControl::applyRotation", "pseudocode": "// \n// GJTransformControl::applyRotation from 0x100040d90 to 0x100040dec (92 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 GJTransformControl::applyRotation(GJTransformControl *a1, float a2)\n{\n  GJTransformControlDelegate *m_delegate; // rdi\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 0x100040d90 to 0x100040dec (92 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, 0x100040d90\nmov     rbp, rsp                                                       ; +0x1, 0x100040d91\npush    rbx                                                            ; +0x4, 0x100040d94\npush    rax                                                            ; +0x5, 0x100040d95\nmov     rbx, rdi                                                       ; +0x6, 0x100040d96\nmovss   xmm1, dword ptr [rdi+220h]                                     ; +0x9, 0x100040d99\nucomiss xmm1, xmm0                                                     ; +0x11, 0x100040da1\njnz     short loc_100040DA8                                            ; +0x14, 0x100040da4\njnp     short loc_100040DDA                                            ; +0x16, 0x100040da6\nmovss   dword ptr [rbx+220h], xmm0                                     ; +0x18, 0x100040da8\nmov     rdi, [rbx+1A0h]                                                ; +0x20, 0x100040db0\nmov     rax, [rdi]                                                     ; +0x27, 0x100040db7\ncall    qword ptr [rax+158h]                                           ; +0x2a, 0x100040dba\nmov     rdi, [rbx+1B8h]                                                ; +0x30, 0x100040dc0\ntest    rdi, rdi                                                       ; +0x37, 0x100040dc7\njz      short loc_100040DDA                                            ; +0x3a, 0x100040dca\nmovss   xmm0, dword ptr [rbx+220h]                                     ; +0x3c, 0x100040dcc\nmov     rax, [rdi]                                                     ; +0x44, 0x100040dd4\ncall    qword ptr [rax+28h]                                            ; +0x47, 0x100040dd7\nmov     rdi, rbx                                                       ; +0x4a, 0x100040dda\nxor     esi, esi                                                       ; +0x4d, 0x100040ddd\nxor     edx, edx                                                       ; +0x4f, 0x100040ddf\nadd     rsp, 8                                                         ; +0x51, 0x100040de1\npop     rbx                                                            ; +0x55, 0x100040de5\npop     rbp                                                            ; +0x56, 0x100040de6\njmp     GJTransformControl__updateButtons                              ; +0x57, 0x100040de7", "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"}