{"type": "func", "start": 5373311456, "end": 5373311664, "name": "SetupTimeWarpPopup::sliderChanged", "pseudocode": "// \n// SetupTimeWarpPopup::sliderChanged from 0x1404639e0 to 0x140463ab0 (208 bytes)\n// \n// 4 xrefs:\n// > SetupTimeWarpPopup::init @ 0x140463801\n// > <???> @ 0x1406a46c0\n// > <???> @ 0x1406a46d0\n// > <???> @ 0x1406daf4c\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 SetupTimeWarpPopup::sliderChanged(SetupTimeWarpPopup *a1, cocos2d::CCObject *a2)\n{\n  float v3; // xmm0_4\n  float v4; // xmm0_4\n  EffectGameObject *m_gameObject; // rax\n  cocos2d::CCArray *m_gameObjects; // rcx\n  unsigned int v7; // ebx\n  struct cocos2d::CCObject *v8; // rax\n\n  v3 = (float)(SliderThumb::getValue((SliderThumb *)a2) * 1.9) + 0.1;\n  a1->m_timeWarpMod = v3;\n  v4 = roundf(v3 * 100.0) / 100.0;\n  m_gameObject = a1->m_gameObject;\n  a1->m_timeWarpMod = v4;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_timeWarpTimeMod = v4;\n    SetupTimeWarpPopup::updateTimeWarpLabel(a1);\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects )\n    {\n      v7 = 0;\n      if ( cocos2d::CCArray::count(m_gameObjects) )\n      {\n        do\n        {\n          v8 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7++);\n          v8[31].m_nZOrder = LODWORD(a1->m_timeWarpMod);\n        }\n        while ( v7 < cocos2d::CCArray::count(a1->m_gameObjects) );\n      }\n    }\n    SetupTimeWarpPopup::updateTimeWarpLabel(a1);\n  }\n}", "assembly": "; \n; SetupTimeWarpPopup::sliderChanged from 0x1404639e0 to 0x140463ab0 (208 bytes)\n; \n; 4 xrefs:\n; > SetupTimeWarpPopup::init @ 0x140463801\n; > <???> @ 0x1406a46c0\n; > <???> @ 0x1406a46d0\n; > <???> @ 0x1406daf4c\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    rdi                                                            ; +0x0, 0x1404639e0\nsub     rsp, 20h                                                       ; +0x2, 0x1404639e2\nmov     rdi, rcx                                                       ; +0x6, 0x1404639e6\nmov     rcx, rdx                                                       ; +0x9, 0x1404639e9\ncall    SliderThumb__getValue                                          ; +0xc, 0x1404639ec\nmulss   xmm0, cs:dword_140622E34                                       ; +0x11, 0x1404639f1\naddss   xmm0, cs:dword_140622A10                                       ; +0x19, 0x1404639f9\nmovss   dword ptr [rdi+3B8h], xmm0                                     ; +0x21, 0x140463a01\nmulss   xmm0, cs:dword_1406232BC; X                                    ; +0x29, 0x140463a09\ncall    cs:__imp_roundf                                                ; +0x31, 0x140463a11\ndivss   xmm0, cs:dword_1406232BC                                       ; +0x37, 0x140463a17\nmov     rax, [rdi+290h]                                                ; +0x3f, 0x140463a1f\nmovss   dword ptr [rdi+3B8h], xmm0                                     ; +0x46, 0x140463a26\ntest    rax, rax                                                       ; +0x4e, 0x140463a2e\njz      short loc_140463A48                                            ; +0x51, 0x140463a31\nmov     rcx, rdi                                                       ; +0x53, 0x140463a33\nmovss   dword ptr [rax+6F4h], xmm0                                     ; +0x56, 0x140463a36\nadd     rsp, 20h                                                       ; +0x5e, 0x140463a3e\npop     rdi                                                            ; +0x62, 0x140463a42\njmp     SetupTimeWarpPopup__updateTimeWarpLabel                        ; +0x63, 0x140463a43\nmov     rcx, [rdi+298h]                                                ; +0x68, 0x140463a48\ntest    rcx, rcx                                                       ; +0x6f, 0x140463a4f\njz      short loc_140463AA3                                            ; +0x72, 0x140463a52\nmov     [rsp+28h+arg_0], rbx                                           ; +0x74, 0x140463a54\nxor     ebx, ebx                                                       ; +0x79, 0x140463a59\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7b, 0x140463a5b\ntest    eax, eax                                                       ; +0x81, 0x140463a61\njz      short loc_140463A9E                                            ; +0x83, 0x140463a63\nnop     word ptr [rax+rax+00000000h]                                   ; +0x85, 0x140463a65\nmov     rcx, [rdi+298h]                                                ; +0x90, 0x140463a70\nmov     edx, ebx                                                       ; +0x97, 0x140463a77\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x99, 0x140463a79\nmov     ecx, [rdi+3B8h]                                                ; +0x9f, 0x140463a7f\ninc     ebx                                                            ; +0xa5, 0x140463a85\nmov     [rax+6F4h], ecx                                                ; +0xa7, 0x140463a87\nmov     rcx, [rdi+298h]                                                ; +0xad, 0x140463a8d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xb4, 0x140463a94\ncmp     ebx, eax                                                       ; +0xba, 0x140463a9a\njb      short loc_140463A70                                            ; +0xbc, 0x140463a9c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xbe, 0x140463a9e\nmov     rcx, rdi                                                       ; +0xc3, 0x140463aa3\nadd     rsp, 20h                                                       ; +0xc6, 0x140463aa6\npop     rdi                                                            ; +0xca, 0x140463aaa\njmp     $+5                                                            ; +0xcb, 0x140463aab", "xrefs": ["SetupTimeWarpPopup::init @ 0x140463801", "<???> @ 0x1406a46c0", "<???> @ 0x1406a46d0", "<???> @ 0x1406daf4c"], "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"}