{"type": "func", "start": 4294980896, "end": 4294981075, "name": "GJRotateCommandLayer::onEasing", "pseudocode": "// \n// GJRotateCommandLayer::onEasing from 0x100003520 to 0x1000035d3 (179 bytes)\n// \n// 2 xrefs:\n// > GJRotateCommandLayer::init @ 0x1000020ca\n// > GJRotateCommandLayer::init @ 0x1000021bb\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::onEasing(GJRotateCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  __int32 v2; // eax\n  int v3; // ecx\n  EasingType v4; // eax\n  EffectGameObject *m_gameObject; // rcx\n  unsigned int v6; // r14d\n\n  v2 = a1->m_rotateEasingType + 2 * (((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1) - 1;\n  v3 = 0;\n  if ( v2 > 0 )\n    v3 = v2;\n  v4 = BackOut;\n  if ( v3 < 18 )\n    v4 = v3;\n  a1->m_rotateEasingType = v4;\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_easingType = v4;\n  }\n  else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )\n  {\n    v6 = 0;\n    do\n      *(_DWORD *)(sub_1007200C0(a1->m_gameObjects, v6++) + 1496) = a1->m_rotateEasingType;\n    while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n  }\n  GJRotateCommandLayer::updateEasingLabel(a1);\n  GJRotateCommandLayer::toggleEasingRateVisibility(a1);\n}", "assembly": "; \n; GJRotateCommandLayer::onEasing from 0x100003520 to 0x1000035d3 (179 bytes)\n; \n; 2 xrefs:\n; > GJRotateCommandLayer::init @ 0x1000020ca\n; > GJRotateCommandLayer::init @ 0x1000021bb\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, 0x100003520\nmov     rbp, rsp                                                       ; +0x1, 0x100003521\npush    r14                                                            ; +0x4, 0x100003524\npush    rbx                                                            ; +0x6, 0x100003526\nmov     rbx, rdi                                                       ; +0x7, 0x100003527\nmov     rax, [rsi]                                                     ; +0xa, 0x10000352a\nmov     rdi, rsi                                                       ; +0xd, 0x10000352d\ncall    qword ptr [rax+40h]                                            ; +0x10, 0x100003530\nxor     ecx, ecx                                                       ; +0x13, 0x100003533\ncmp     eax, 1                                                         ; +0x15, 0x100003535\nsetz    cl                                                             ; +0x18, 0x100003538\nmov     eax, [rbx+3D0h]                                                ; +0x1b, 0x10000353b\nlea     eax, [rax+rcx*2]                                               ; +0x21, 0x100003541\ndec     eax                                                            ; +0x24, 0x100003544\nxor     ecx, ecx                                                       ; +0x26, 0x100003546\ntest    eax, eax                                                       ; +0x28, 0x100003548\ncmovg   ecx, eax                                                       ; +0x2a, 0x10000354a\ncmp     ecx, 12h                                                       ; +0x2d, 0x10000354d\nmov     eax, 12h                                                       ; +0x30, 0x100003550\ncmovl   eax, ecx                                                       ; +0x35, 0x100003555\nmov     [rbx+3D0h], eax                                                ; +0x38, 0x100003558\nmov     rcx, [rbx+290h]                                                ; +0x3e, 0x10000355e\ntest    rcx, rcx                                                       ; +0x45, 0x100003565\njz      short loc_100003572                                            ; +0x48, 0x100003568\nmov     [rcx+5D8h], eax                                                ; +0x4a, 0x10000356a\njmp     short loc_1000035BF                                            ; +0x50, 0x100003570\nmov     rdi, [rbx+298h]                                                ; +0x52, 0x100003572\ncall    sub_100720070                                                  ; +0x59, 0x100003579\ntest    eax, eax                                                       ; +0x5e, 0x10000357e\njz      short loc_1000035BF                                            ; +0x60, 0x100003580\nxor     r14d, r14d                                                     ; +0x62, 0x100003582\nnop     word ptr [rax+rax+00000000h]                                   ; +0x65, 0x100003585\nmov     rdi, [rbx+298h]                                                ; +0x70, 0x100003590\nmov     esi, r14d                                                      ; +0x77, 0x100003597\ncall    sub_1007200C0                                                  ; +0x7a, 0x10000359a\nmov     ecx, [rbx+3D0h]                                                ; +0x7f, 0x10000359f\nmov     [rax+5D8h], ecx                                                ; +0x85, 0x1000035a5\ninc     r14d                                                           ; +0x8b, 0x1000035ab\nmov     rdi, [rbx+298h]                                                ; +0x8e, 0x1000035ae\ncall    sub_100720070                                                  ; +0x95, 0x1000035b5\ncmp     r14d, eax                                                      ; +0x9a, 0x1000035ba\njb      short loc_100003590                                            ; +0x9d, 0x1000035bd\nmov     rdi, rbx                                                       ; +0x9f, 0x1000035bf\ncall    GJRotateCommandLayer__updateEasingLabel                        ; +0xa2, 0x1000035c2\nmov     rdi, rbx                                                       ; +0xa7, 0x1000035c7\npop     rbx                                                            ; +0xaa, 0x1000035ca\npop     r14                                                            ; +0xab, 0x1000035cb\npop     rbp                                                            ; +0xad, 0x1000035cd\njmp     GJRotateCommandLayer__toggleEasingRateVisibility               ; +0xae, 0x1000035ce", "xrefs": ["GJRotateCommandLayer::init @ 0x1000020ca", "GJRotateCommandLayer::init @ 0x1000021bb"], "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"}