{"type": "func", "start": 4294985008, "end": 4294985183, "name": "GJRotateCommandLayer::valuePopupClosed", "pseudocode": "// \n// GJRotateCommandLayer::valuePopupClosed from 0x100004530 to 0x1000045df (175 bytes)\n// \n// 2 xrefs:\n// > sub_100004660 @ 0x10000466c\n// > <???> @ 0x1008af318\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::valuePopupClosed(GJRotateCommandLayer *a1, ConfigureValuePopup *a2, float a3)\n{\n  cocos2d::CCString *v3; // rax\n  float v4; // xmm0_4\n  EffectGameObject *m_gameObject; // rax\n  unsigned int v6; // r14d\n  char v7; // [rsp+0h] [rbp-10h]\n\n  v3 = (cocos2d::CCString *)sub_1007AB580(\"%.02f\", v7);\n  v4 = fmaxf(fminf(cocos2d::CCString::floatValue(v3), 20.0), 0.1);\n  a1->m_rotateEasingRate = v4;\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_easingRate = v4;\n  }\n  else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )\n  {\n    v6 = 0;\n    do\n      *(float *)(sub_1007200C0(a1->m_gameObjects, v6++) + 1500) = a1->m_rotateEasingRate;\n    while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n  }\n  GJRotateCommandLayer::updateEasingRateLabel(a1);\n}", "assembly": "; \n; GJRotateCommandLayer::valuePopupClosed from 0x100004530 to 0x1000045df (175 bytes)\n; \n; 2 xrefs:\n; > sub_100004660 @ 0x10000466c\n; > <???> @ 0x1008af318\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, 0x100004530\nmov     rbp, rsp                                                       ; +0x1, 0x100004531\npush    r14                                                            ; +0x4, 0x100004534\npush    rbx; char                                                      ; +0x6, 0x100004536\nmov     rbx, rdi                                                       ; +0x7, 0x100004537\ncvtss2sd xmm0, xmm0                                                    ; +0xa, 0x10000453a\nlea     rdi, a02f; \"%.02f\"                                             ; +0xe, 0x10000453e\nmov     al, 1                                                          ; +0x15, 0x100004545\ncall    sub_1007AB580                                                  ; +0x17, 0x100004547\nmov     rdi, rax                                                       ; +0x1c, 0x10000454c\ncall    cocos2d__CCString__floatValue                                  ; +0x1f, 0x10000454f\nminss   xmm0, cs:dword_100814FF0                                       ; +0x24, 0x100004554\nmaxss   xmm0, cs:dword_100815058                                       ; +0x2c, 0x10000455c\nmovss   dword ptr [rbx+3D4h], xmm0                                     ; +0x34, 0x100004564\nmov     rax, [rbx+290h]                                                ; +0x3c, 0x10000456c\ntest    rax, rax                                                       ; +0x43, 0x100004573\njz      short loc_100004582                                            ; +0x46, 0x100004576\nmovss   dword ptr [rax+5DCh], xmm0                                     ; +0x48, 0x100004578\njmp     short loc_1000045D3                                            ; +0x50, 0x100004580\nmov     rdi, [rbx+298h]                                                ; +0x52, 0x100004582\ncall    sub_100720070                                                  ; +0x59, 0x100004589\ntest    eax, eax                                                       ; +0x5e, 0x10000458e\njz      short loc_1000045D3                                            ; +0x60, 0x100004590\nxor     r14d, r14d                                                     ; +0x62, 0x100004592\nnop     word ptr [rax+rax+00000000h]                                   ; +0x65, 0x100004595\nmov     rdi, [rbx+298h]                                                ; +0x70, 0x1000045a0\nmov     esi, r14d                                                      ; +0x77, 0x1000045a7\ncall    sub_1007200C0                                                  ; +0x7a, 0x1000045aa\nmovss   xmm0, dword ptr [rbx+3D4h]                                     ; +0x7f, 0x1000045af\nmovss   dword ptr [rax+5DCh], xmm0                                     ; +0x87, 0x1000045b7\ninc     r14d                                                           ; +0x8f, 0x1000045bf\nmov     rdi, [rbx+298h]                                                ; +0x92, 0x1000045c2\ncall    sub_100720070                                                  ; +0x99, 0x1000045c9\ncmp     r14d, eax                                                      ; +0x9e, 0x1000045ce\njb      short loc_1000045A0                                            ; +0xa1, 0x1000045d1\nmov     rdi, rbx                                                       ; +0xa3, 0x1000045d3\npop     rbx                                                            ; +0xa6, 0x1000045d6\npop     r14                                                            ; +0xa7, 0x1000045d7\npop     rbp                                                            ; +0xa9, 0x1000045d9\njmp     GJRotateCommandLayer__updateEasingRateLabel                    ; +0xaa, 0x1000045da", "xrefs": ["sub_100004660 @ 0x10000466c", "<???> @ 0x1008af318"], "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"}