{"type": "func", "start": 8750188, "end": 8750276, "name": "GJBaseGameLayer::getEnterEasingValue", "pseudocode": "// \n// GJBaseGameLayer::getEnterEasingValue from 0x85846c to 0x8584c4 (88 bytes)\n// \n// 15 xrefs:\n// > PlayLayer::applyCustomEnterEffect @ 0x5cd670\n// > PlayLayer::applyCustomEnterEffect @ 0x5cd6d8\n// > PlayLayer::applyCustomEnterEffect @ 0x5cd748\n// > PlayLayer::applyCustomEnterEffect @ 0x5cd7cc\n// > PlayLayer::applyCustomEnterEffect @ 0x5cd904\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x87123c\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x8717f8\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x871838\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x871864\n// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b70\n// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b88\n// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x874074\n// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x87408c\n// > EnterEffectInstance::updateTransitions @ 0xa6be58\n// > <???> @ 0xbe0c8\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\nfloat GJBaseGameLayer::getEnterEasingValue(GJBaseGameLayer *a1, float a2, int a3, float a4, int a5)\n{\n  if ( a5 != -1 )\n  {\n    if ( a5 == -2 )\n      return GameToolbox::getEasedValue(a2, a3, a4);\n    else\n      return a1->m_enterEasingValues.m_start[(int)(float)(a2 * 100.0) + a5]\n           + (float)((float)((float)(a1->m_enterEasingValues.m_start[(int)(float)(a2 * 100.0) + 1 + a5]\n                                   - a1->m_enterEasingValues.m_start[(int)(float)(a2 * 100.0) + a5])\n                           * (float)(a2 - (float)((float)(int)(float)(a2 * 100.0) * 0.01)))\n                   * 100.0);\n  }\n  return a2;\n}", "assembly": "; \n; GJBaseGameLayer::getEnterEasingValue from 0x85846c to 0x8584c4 (88 bytes)\n; \n; 15 xrefs:\n; > PlayLayer::applyCustomEnterEffect @ 0x5cd670\n; > PlayLayer::applyCustomEnterEffect @ 0x5cd6d8\n; > PlayLayer::applyCustomEnterEffect @ 0x5cd748\n; > PlayLayer::applyCustomEnterEffect @ 0x5cd7cc\n; > PlayLayer::applyCustomEnterEffect @ 0x5cd904\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x87123c\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x8717f8\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x871838\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x871864\n; > GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b70\n; > GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b88\n; > GJBaseGameLayer::processAreaTransformGroupAction @ 0x874074\n; > GJBaseGameLayer::processAreaTransformGroupAction @ 0x87408c\n; > EnterEffectInstance::updateTransitions @ 0xa6be58\n; > <???> @ 0xbe0c8\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\nCMN             W2, #1                                                 ; +0x0, 0x85846c\nFMOV            S2, S0                                                 ; +0x4, 0x858470\nB.EQ            locret_8584B8                                          ; +0x8, 0x858474\nCMN             W2, #2                                                 ; +0xc, 0x858478\nB.EQ            loc_8584BC                                             ; +0x10, 0x85847c\nLDR             S4, =0x42C80000                                        ; +0x14, 0x858480\nLDR             X1, [X0,#0x3098]; int                                  ; +0x18, 0x858484\nLDR             S5, =0x3C23D70A                                        ; +0x1c, 0x858488\nFMUL            S1, S0, S4                                             ; +0x20, 0x85848c\nFCVTZS          W0, S1                                                 ; +0x24, 0x858490\nSCVTF           S3, W0                                                 ; +0x28, 0x858494\nADD             W2, W0, W2                                             ; +0x2c, 0x858498\nADD             W0, W2, #1                                             ; +0x30, 0x85849c\nLDR             S0, [X1,W2,SXTW#2]                                     ; +0x34, 0x8584a0\nLDR             S1, [X1,W0,SXTW#2]                                     ; +0x38, 0x8584a4\nFMSUB           S2, S3, S5, S2                                         ; +0x3c, 0x8584a8\nFSUB            S1, S1, S0; float                                      ; +0x40, 0x8584ac\nFMUL            S2, S1, S2                                             ; +0x44, 0x8584b0\nFMADD           S0, S2, S4, S0; float                                  ; +0x48, 0x8584b4\nRET                                                                    ; +0x4c, 0x8584b8\nMOV             W0, W1; this                                           ; +0x50, 0x8584bc\nB               _ZN11GameToolbox13getEasedValueEfif; GameToolbox::getEasedValue(float,int,float) ; +0x54, 0x8584c0", "xrefs": ["PlayLayer::applyCustomEnterEffect @ 0x5cd670", "PlayLayer::applyCustomEnterEffect @ 0x5cd6d8", "PlayLayer::applyCustomEnterEffect @ 0x5cd748", "PlayLayer::applyCustomEnterEffect @ 0x5cd7cc", "PlayLayer::applyCustomEnterEffect @ 0x5cd904", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x87123c", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x8717f8", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x871838", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x871864", "GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b70", "GJBaseGameLayer::processAreaRotateGroupAction @ 0x872b88", "GJBaseGameLayer::processAreaTransformGroupAction @ 0x874074", "GJBaseGameLayer::processAreaTransformGroupAction @ 0x87408c", "EnterEffectInstance::updateTransitions @ 0xa6be58", "<???> @ 0xbe0c8"], "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"}