{"type": "func", "start": 4294981264, "end": 4294981428, "name": "GJRotateCommandLayer::sliderTimesChanged", "pseudocode": "// \n// GJRotateCommandLayer::sliderTimesChanged from 0x100003690 to 0x100003734 (164 bytes)\n// \n// 1 xrefs:\n// > GJRotateCommandLayer::init @ 0x100002429\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::sliderTimesChanged(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) * 20.0;\n  a1->m_times360 = (int)(float)(_mm_round_ss(v2, v2, 9).f32[0] + -10.0);\n  GJRotateCommandLayer::updateTimesLabel(a1);\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_times360 = a1->m_times360;\n  }\n  else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )\n  {\n    v4 = 0;\n    do\n      *(_DWORD *)(sub_1007200C0(a1->m_gameObjects, v4++) + 1548) = a1->m_times360;\n    while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n  }\n}", "assembly": "; \n; GJRotateCommandLayer::sliderTimesChanged from 0x100003690 to 0x100003734 (164 bytes)\n; \n; 1 xrefs:\n; > GJRotateCommandLayer::init @ 0x100002429\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, 0x100003690\nmov     rbp, rsp                                                       ; +0x1, 0x100003691\npush    r14                                                            ; +0x4, 0x100003694\npush    rbx                                                            ; +0x6, 0x100003696\nmov     rbx, rdi                                                       ; +0x7, 0x100003697\nmov     rdi, rsi                                                       ; +0xa, 0x10000369a\ncall    SliderThumb__getValue                                          ; +0xd, 0x10000369d\nmulss   xmm0, cs:dword_100814FF0                                       ; +0x12, 0x1000036a2\nroundss xmm0, xmm0, 9                                                  ; +0x1a, 0x1000036aa\naddss   xmm0, cs:dword_100815064                                       ; +0x20, 0x1000036b0\ncvttss2si eax, xmm0                                                    ; +0x28, 0x1000036b8\nmov     [rbx+40Ch], eax                                                ; +0x2c, 0x1000036bc\nmov     rdi, rbx                                                       ; +0x32, 0x1000036c2\ncall    GJRotateCommandLayer__updateTimesLabel                         ; +0x35, 0x1000036c5\nmov     rax, [rbx+290h]                                                ; +0x3a, 0x1000036ca\ntest    rax, rax                                                       ; +0x41, 0x1000036d1\njz      short loc_1000036E7                                            ; +0x44, 0x1000036d4\nmov     ecx, [rbx+40Ch]                                                ; +0x46, 0x1000036d6\nmov     [rax+60Ch], ecx                                                ; +0x4c, 0x1000036dc\npop     rbx                                                            ; +0x52, 0x1000036e2\npop     r14                                                            ; +0x53, 0x1000036e3\npop     rbp                                                            ; +0x55, 0x1000036e5\nretn                                                                   ; +0x56, 0x1000036e6\nmov     rdi, [rbx+298h]                                                ; +0x57, 0x1000036e7\ncall    sub_100720070                                                  ; +0x5e, 0x1000036ee\ntest    eax, eax                                                       ; +0x63, 0x1000036f3\njz      short loc_10000372F                                            ; +0x65, 0x1000036f5\nxor     r14d, r14d                                                     ; +0x67, 0x1000036f7\nnop     word ptr [rax+rax+00h]                                         ; +0x6a, 0x1000036fa\nmov     rdi, [rbx+298h]                                                ; +0x70, 0x100003700\nmov     esi, r14d                                                      ; +0x77, 0x100003707\ncall    sub_1007200C0                                                  ; +0x7a, 0x10000370a\nmov     ecx, [rbx+40Ch]                                                ; +0x7f, 0x10000370f\nmov     [rax+60Ch], ecx                                                ; +0x85, 0x100003715\ninc     r14d                                                           ; +0x8b, 0x10000371b\nmov     rdi, [rbx+298h]                                                ; +0x8e, 0x10000371e\ncall    sub_100720070                                                  ; +0x95, 0x100003725\ncmp     r14d, eax                                                      ; +0x9a, 0x10000372a\njb      short loc_100003700                                            ; +0x9d, 0x10000372d\npop     rbx                                                            ; +0x9f, 0x10000372f\npop     r14                                                            ; +0xa0, 0x100003730\npop     rbp                                                            ; +0xa2, 0x100003732\nretn                                                                   ; +0xa3, 0x100003733", "xrefs": ["GJRotateCommandLayer::init @ 0x100002429"], "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"}