{"type": "func", "start": 4297942560, "end": 4297942728, "name": "GJFollowCommandLayer::sliderYModChanged", "pseudocode": "// \n// GJFollowCommandLayer::sliderYModChanged from 0x1002d6620 to 0x1002d66c8 (168 bytes)\n// \n// 1 xrefs:\n// > GJFollowCommandLayer::init @ 0x1002d5928\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::sliderYModChanged(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_yMod = (float)(Value + Value) + -1.0;\n  GJFollowCommandLayer::updateYModLabel(a1);\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_followYMod = a1->m_yMod;\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++) + 1572) = a1->m_yMod;\n    while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n  }\n}", "assembly": "; \n; GJFollowCommandLayer::sliderYModChanged from 0x1002d6620 to 0x1002d66c8 (168 bytes)\n; \n; 1 xrefs:\n; > GJFollowCommandLayer::init @ 0x1002d5928\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, 0x1002d6620\nmov     rbp, rsp                                                       ; +0x1, 0x1002d6621\npush    r14                                                            ; +0x4, 0x1002d6624\npush    rbx                                                            ; +0x6, 0x1002d6626\nmov     rbx, rdi                                                       ; +0x7, 0x1002d6627\nmov     rdi, rsi                                                       ; +0xa, 0x1002d662a\ncall    SliderThumb__getValue                                          ; +0xd, 0x1002d662d\naddss   xmm0, xmm0                                                     ; +0x12, 0x1002d6632\naddss   xmm0, cs:dword_100815094                                       ; +0x16, 0x1002d6636\nmovss   dword ptr [rbx+3ECh], xmm0                                     ; +0x1e, 0x1002d663e\nmov     rdi, rbx                                                       ; +0x26, 0x1002d6646\ncall    GJFollowCommandLayer__updateYModLabel                          ; +0x29, 0x1002d6649\nmov     rax, [rbx+290h]                                                ; +0x2e, 0x1002d664e\ntest    rax, rax                                                       ; +0x35, 0x1002d6655\njz      short loc_1002D666F                                            ; +0x38, 0x1002d6658\nmovss   xmm0, dword ptr [rbx+3ECh]                                     ; +0x3a, 0x1002d665a\nmovss   dword ptr [rax+624h], xmm0                                     ; +0x42, 0x1002d6662\npop     rbx                                                            ; +0x4a, 0x1002d666a\npop     r14                                                            ; +0x4b, 0x1002d666b\npop     rbp                                                            ; +0x4d, 0x1002d666d\nretn                                                                   ; +0x4e, 0x1002d666e\nmov     rdi, [rbx+298h]                                                ; +0x4f, 0x1002d666f\ncall    sub_100720070                                                  ; +0x56, 0x1002d6676\ntest    eax, eax                                                       ; +0x5b, 0x1002d667b\njz      short loc_1002D66C3                                            ; +0x5d, 0x1002d667d\nxor     r14d, r14d                                                     ; +0x5f, 0x1002d667f\nnop     word ptr [rax+rax+00000000h]                                   ; +0x62, 0x1002d6682\nmov     rdi, [rbx+298h]                                                ; +0x70, 0x1002d6690\nmov     esi, r14d                                                      ; +0x77, 0x1002d6697\ncall    sub_1007200C0                                                  ; +0x7a, 0x1002d669a\nmovss   xmm0, dword ptr [rbx+3ECh]                                     ; +0x7f, 0x1002d669f\nmovss   dword ptr [rax+624h], xmm0                                     ; +0x87, 0x1002d66a7\ninc     r14d                                                           ; +0x8f, 0x1002d66af\nmov     rdi, [rbx+298h]                                                ; +0x92, 0x1002d66b2\ncall    sub_100720070                                                  ; +0x99, 0x1002d66b9\ncmp     r14d, eax                                                      ; +0x9e, 0x1002d66be\njb      short loc_1002D6690                                            ; +0xa1, 0x1002d66c1\npop     rbx                                                            ; +0xa3, 0x1002d66c3\npop     r14                                                            ; +0xa4, 0x1002d66c4\npop     rbp                                                            ; +0xa6, 0x1002d66c6\nretn                                                                   ; +0xa7, 0x1002d66c7", "xrefs": ["GJFollowCommandLayer::init @ 0x1002d5928"], "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"}