{"type": "func", "start": 4294981088, "end": 4294981256, "name": "GJRotateCommandLayer::sliderDegreesChanged", "pseudocode": "// \n// GJRotateCommandLayer::sliderDegreesChanged from 0x1000035e0 to 0x100003688 (168 bytes)\n// \n// 1 xrefs:\n// > GJRotateCommandLayer::init @ 0x100002434\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 GJRotateCommandLayer::sliderDegreesChanged(GJRotateCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  __m128 v2; // xmm0\n  EffectGameObject *m_gameObject; // rax\n  unsigned int v4; // r14d\n\n  v2.f32[0] = SliderThumb::getValue((SliderThumb *)a2) * 720.0;\n  a1->m_degrees = _mm_round_ss(v2, v2, 9).f32[0] + -360.0;\n  GJRotateCommandLayer::updateDegreesLabel(a1);\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_rotationDegrees = a1->m_degrees;\n  }\n  else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )\n  {\n    v4 = 0;\n    do\n      *(float *)(sub_1007200C0(a1->m_gameObjects, v4++) + 1544) = a1->m_degrees;\n    while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n  }\n}", "assembly": "; \n; GJRotateCommandLayer::sliderDegreesChanged from 0x1000035e0 to 0x100003688 (168 bytes)\n; \n; 1 xrefs:\n; > GJRotateCommandLayer::init @ 0x100002434\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, 0x1000035e0\nmov     rbp, rsp                                                       ; +0x1, 0x1000035e1\npush    r14                                                            ; +0x4, 0x1000035e4\npush    rbx                                                            ; +0x6, 0x1000035e6\nmov     rbx, rdi                                                       ; +0x7, 0x1000035e7\nmov     rdi, rsi                                                       ; +0xa, 0x1000035ea\ncall    SliderThumb__getValue                                          ; +0xd, 0x1000035ed\nmulss   xmm0, cs:dword_10081502C                                       ; +0x12, 0x1000035f2\nroundss xmm0, xmm0, 9                                                  ; +0x1a, 0x1000035fa\naddss   xmm0, cs:dword_100815060                                       ; +0x20, 0x100003600\nmovss   dword ptr [rbx+408h], xmm0                                     ; +0x28, 0x100003608\nmov     rdi, rbx                                                       ; +0x30, 0x100003610\ncall    GJRotateCommandLayer__updateDegreesLabel                       ; +0x33, 0x100003613\nmov     rax, [rbx+290h]                                                ; +0x38, 0x100003618\ntest    rax, rax                                                       ; +0x3f, 0x10000361f\njz      short loc_100003639                                            ; +0x42, 0x100003622\nmovss   xmm0, dword ptr [rbx+408h]                                     ; +0x44, 0x100003624\nmovss   dword ptr [rax+608h], xmm0                                     ; +0x4c, 0x10000362c\npop     rbx                                                            ; +0x54, 0x100003634\npop     r14                                                            ; +0x55, 0x100003635\npop     rbp                                                            ; +0x57, 0x100003637\nretn                                                                   ; +0x58, 0x100003638\nmov     rdi, [rbx+298h]                                                ; +0x59, 0x100003639\ncall    sub_100720070                                                  ; +0x60, 0x100003640\ntest    eax, eax                                                       ; +0x65, 0x100003645\njz      short loc_100003683                                            ; +0x67, 0x100003647\nxor     r14d, r14d                                                     ; +0x69, 0x100003649\nnop     dword ptr [rax+00h]                                            ; +0x6c, 0x10000364c\nmov     rdi, [rbx+298h]                                                ; +0x70, 0x100003650\nmov     esi, r14d                                                      ; +0x77, 0x100003657\ncall    sub_1007200C0                                                  ; +0x7a, 0x10000365a\nmovss   xmm0, dword ptr [rbx+408h]                                     ; +0x7f, 0x10000365f\nmovss   dword ptr [rax+608h], xmm0                                     ; +0x87, 0x100003667\ninc     r14d                                                           ; +0x8f, 0x10000366f\nmov     rdi, [rbx+298h]                                                ; +0x92, 0x100003672\ncall    sub_100720070                                                  ; +0x99, 0x100003679\ncmp     r14d, eax                                                      ; +0x9e, 0x10000367e\njb      short loc_100003650                                            ; +0xa1, 0x100003681\npop     rbx                                                            ; +0xa3, 0x100003683\npop     r14                                                            ; +0xa4, 0x100003684\npop     rbp                                                            ; +0xa6, 0x100003686\nretn                                                                   ; +0xa7, 0x100003687", "xrefs": ["GJRotateCommandLayer::init @ 0x100002434"], "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"}