{"type": "func", "start": 4297942384, "end": 4297942552, "name": "GJFollowCommandLayer::sliderXModChanged", "pseudocode": "// \n// GJFollowCommandLayer::sliderXModChanged from 0x1002d6570 to 0x1002d6618 (168 bytes)\n// \n// 1 xrefs:\n// > GJFollowCommandLayer::init @ 0x1002d592f\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 GJFollowCommandLayer::sliderXModChanged(GJFollowCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  float Value; // xmm0_4\n  EffectGameObject *m_gameObject; // rax\n  unsigned int v4; // r14d\n\n  Value = SliderThumb::getValue((SliderThumb *)a2);\n  a1->m_xMod = (float)(Value + Value) + -1.0;\n  GJFollowCommandLayer::updateXModLabel(a1);\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_followXMod = a1->m_xMod;\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++) + 1568) = a1->m_xMod;\n    while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n  }\n}", "assembly": "; \n; GJFollowCommandLayer::sliderXModChanged from 0x1002d6570 to 0x1002d6618 (168 bytes)\n; \n; 1 xrefs:\n; > GJFollowCommandLayer::init @ 0x1002d592f\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, 0x1002d6570\nmov     rbp, rsp                                                       ; +0x1, 0x1002d6571\npush    r14                                                            ; +0x4, 0x1002d6574\npush    rbx                                                            ; +0x6, 0x1002d6576\nmov     rbx, rdi                                                       ; +0x7, 0x1002d6577\nmov     rdi, rsi                                                       ; +0xa, 0x1002d657a\ncall    SliderThumb__getValue                                          ; +0xd, 0x1002d657d\naddss   xmm0, xmm0                                                     ; +0x12, 0x1002d6582\naddss   xmm0, cs:dword_100815094                                       ; +0x16, 0x1002d6586\nmovss   dword ptr [rbx+3E8h], xmm0                                     ; +0x1e, 0x1002d658e\nmov     rdi, rbx                                                       ; +0x26, 0x1002d6596\ncall    GJFollowCommandLayer__updateXModLabel                          ; +0x29, 0x1002d6599\nmov     rax, [rbx+290h]                                                ; +0x2e, 0x1002d659e\ntest    rax, rax                                                       ; +0x35, 0x1002d65a5\njz      short loc_1002D65BF                                            ; +0x38, 0x1002d65a8\nmovss   xmm0, dword ptr [rbx+3E8h]                                     ; +0x3a, 0x1002d65aa\nmovss   dword ptr [rax+620h], xmm0                                     ; +0x42, 0x1002d65b2\npop     rbx                                                            ; +0x4a, 0x1002d65ba\npop     r14                                                            ; +0x4b, 0x1002d65bb\npop     rbp                                                            ; +0x4d, 0x1002d65bd\nretn                                                                   ; +0x4e, 0x1002d65be\nmov     rdi, [rbx+298h]                                                ; +0x4f, 0x1002d65bf\ncall    sub_100720070                                                  ; +0x56, 0x1002d65c6\ntest    eax, eax                                                       ; +0x5b, 0x1002d65cb\njz      short loc_1002D6613                                            ; +0x5d, 0x1002d65cd\nxor     r14d, r14d                                                     ; +0x5f, 0x1002d65cf\nnop     word ptr [rax+rax+00000000h]                                   ; +0x62, 0x1002d65d2\nmov     rdi, [rbx+298h]                                                ; +0x70, 0x1002d65e0\nmov     esi, r14d                                                      ; +0x77, 0x1002d65e7\ncall    sub_1007200C0                                                  ; +0x7a, 0x1002d65ea\nmovss   xmm0, dword ptr [rbx+3E8h]                                     ; +0x7f, 0x1002d65ef\nmovss   dword ptr [rax+620h], xmm0                                     ; +0x87, 0x1002d65f7\ninc     r14d                                                           ; +0x8f, 0x1002d65ff\nmov     rdi, [rbx+298h]                                                ; +0x92, 0x1002d6602\ncall    sub_100720070                                                  ; +0x99, 0x1002d6609\ncmp     r14d, eax                                                      ; +0x9e, 0x1002d660e\njb      short loc_1002D65E0                                            ; +0xa1, 0x1002d6611\npop     rbx                                                            ; +0xa3, 0x1002d6613\npop     r14                                                            ; +0xa4, 0x1002d6614\npop     rbp                                                            ; +0xa6, 0x1002d6616\nretn                                                                   ; +0xa7, 0x1002d6617", "xrefs": ["GJFollowCommandLayer::init @ 0x1002d592f"], "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"}