{"type": "func", "start": 4294980720, "end": 4294980891, "name": "GJRotateCommandLayer::toggleEasingRateVisibility", "pseudocode": "// \n// GJRotateCommandLayer::toggleEasingRateVisibility from 0x100003470 to 0x10000351b (171 bytes)\n// \n// 2 xrefs:\n// > GJRotateCommandLayer::init @ 0x100002091\n// > GJRotateCommandLayer::onEasing @ 0x1000035ce\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::toggleEasingRateVisibility(GJRotateCommandLayer *a1)\n{\n  bool isRateEasing; // r14\n  cocos2d::CCArray *m_gameObjects; // rdi\n  unsigned int v4; // r15d\n  __int64 v5; // rax\n\n  isRateEasing = 1;\n  if ( !GameToolbox::isRateEasing(a1->m_rotateEasingType) )\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) )\n    {\n      if ( (unsigned int)sub_100720070(a1->m_gameObjects) )\n      {\n        v4 = 0;\n        do\n        {\n          v5 = sub_1007200C0(a1->m_gameObjects, v4);\n          isRateEasing = GameToolbox::isRateEasing(*(_DWORD *)(v5 + 1496));\n          if ( !isRateEasing )\n            break;\n          ++v4;\n        }\n        while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n      }\n    }\n    else\n    {\n      isRateEasing = 0;\n    }\n  }\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_rotateEasingRateButton->setVisible)(\n    a1->m_rotateEasingRateButton,\n    isRateEasing);\n}", "assembly": "; \n; GJRotateCommandLayer::toggleEasingRateVisibility from 0x100003470 to 0x10000351b (171 bytes)\n; \n; 2 xrefs:\n; > GJRotateCommandLayer::init @ 0x100002091\n; > GJRotateCommandLayer::onEasing @ 0x1000035ce\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, 0x100003470\nmov     rbp, rsp                                                       ; +0x1, 0x100003471\npush    r15                                                            ; +0x4, 0x100003474\npush    r14                                                            ; +0x6, 0x100003476\npush    rbx                                                            ; +0x8, 0x100003478\npush    rax                                                            ; +0x9, 0x100003479\nmov     rbx, rdi                                                       ; +0xa, 0x10000347a\nmov     edi, [rdi+3D0h]                                                ; +0xd, 0x10000347d\ncall    GameToolbox__isRateEasing                                      ; +0x13, 0x100003483\nmov     r14b, 1                                                        ; +0x18, 0x100003488\ntest    al, al                                                         ; +0x1b, 0x10000348b\njnz     short loc_1000034FA                                            ; +0x1d, 0x10000348d\nmov     rdi, [rbx+298h]                                                ; +0x1f, 0x10000348f\ntest    rdi, rdi                                                       ; +0x26, 0x100003496\njz      short loc_1000034F7                                            ; +0x29, 0x100003499\ncall    sub_100720070                                                  ; +0x2b, 0x10000349b\ntest    eax, eax                                                       ; +0x30, 0x1000034a0\njz      short loc_1000034F7                                            ; +0x32, 0x1000034a2\nmov     rdi, [rbx+298h]                                                ; +0x34, 0x1000034a4\ncall    sub_100720070                                                  ; +0x3b, 0x1000034ab\ntest    eax, eax                                                       ; +0x40, 0x1000034b0\njz      short loc_1000034FA                                            ; +0x42, 0x1000034b2\nxor     r15d, r15d                                                     ; +0x44, 0x1000034b4\nnop     word ptr [rax+rax+00000000h]                                   ; +0x47, 0x1000034b7\nmov     rdi, [rbx+298h]                                                ; +0x50, 0x1000034c0\nmov     esi, r15d                                                      ; +0x57, 0x1000034c7\ncall    sub_1007200C0                                                  ; +0x5a, 0x1000034ca\nmov     edi, [rax+5D8h]                                                ; +0x5f, 0x1000034cf\ncall    GameToolbox__isRateEasing                                      ; +0x65, 0x1000034d5\nmov     r14d, eax                                                      ; +0x6a, 0x1000034da\ntest    al, al                                                         ; +0x6d, 0x1000034dd\njz      short loc_1000034FA                                            ; +0x6f, 0x1000034df\ninc     r15d                                                           ; +0x71, 0x1000034e1\nmov     rdi, [rbx+298h]                                                ; +0x74, 0x1000034e4\ncall    sub_100720070                                                  ; +0x7b, 0x1000034eb\ncmp     r15d, eax                                                      ; +0x80, 0x1000034f0\njb      short loc_1000034C0                                            ; +0x83, 0x1000034f3\njmp     short loc_1000034FA                                            ; +0x85, 0x1000034f5\nxor     r14d, r14d                                                     ; +0x87, 0x1000034f7\nmov     rdi, [rbx+3D8h]                                                ; +0x8a, 0x1000034fa\nmov     rax, [rdi]                                                     ; +0x91, 0x100003501\nmov     rax, [rax+148h]                                                ; +0x94, 0x100003504\nmovzx   esi, r14b                                                      ; +0x9b, 0x10000350b\nadd     rsp, 8                                                         ; +0x9f, 0x10000350f\npop     rbx                                                            ; +0xa3, 0x100003513\npop     r14                                                            ; +0xa4, 0x100003514\npop     r15                                                            ; +0xa6, 0x100003516\npop     rbp                                                            ; +0xa8, 0x100003518\njmp     rax                                                            ; +0xa9, 0x100003519", "xrefs": ["GJRotateCommandLayer::init @ 0x100002091", "GJRotateCommandLayer::onEasing @ 0x1000035ce"], "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"}