{"type": "func", "start": 4296945032, "end": 4296945124, "name": "GJBaseGameLayer::getEnterEasingValue", "pseudocode": "// \n// GJBaseGameLayer::getEnterEasingValue from 0x1001e2d88 to 0x1001e2de4 (92 bytes)\n// \n// 10 xrefs:\n// > EnterEffectInstance::updateTransitions @ 0x10004bfa8\n// > PlayLayer::applyCustomEnterEffect @ 0x10011d3b8\n// > PlayLayer::applyCustomEnterEffect @ 0x10011d418\n// > PlayLayer::applyCustomEnterEffect @ 0x10011d468\n// > PlayLayer::applyCustomEnterEffect @ 0x10011d4d4\n// > PlayLayer::applyCustomEnterEffect @ 0x10011d524\n// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1001f4f50\n// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x1001f533c\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f57ac\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f58d4\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 __fastcall GJBaseGameLayer::getEnterEasingValue(GJBaseGameLayer *a1, float a2, int a3, float a4, int a5)\n{\n  float *v5; // x8\n\n  if ( a5 != -1 )\n  {\n    if ( a5 == -2 )\n    {\n      return GameToolbox::getEasedValue(a2, a3, a4);\n    }\n    else\n    {\n      v5 = &a1->m_enterEasingValues.__begin_[(int)(float)(a2 * 100.0) + a5];\n      return *v5\n           + (float)((float)((float)(a2 + (float)((float)(int)(float)(a2 * 100.0) * -0.01)) * (float)(v5[1] - *v5))\n                   * 100.0);\n    }\n  }\n  return a2;\n}", "assembly": "; \n; GJBaseGameLayer::getEnterEasingValue from 0x1001e2d88 to 0x1001e2de4 (92 bytes)\n; \n; 10 xrefs:\n; > EnterEffectInstance::updateTransitions @ 0x10004bfa8\n; > PlayLayer::applyCustomEnterEffect @ 0x10011d3b8\n; > PlayLayer::applyCustomEnterEffect @ 0x10011d418\n; > PlayLayer::applyCustomEnterEffect @ 0x10011d468\n; > PlayLayer::applyCustomEnterEffect @ 0x10011d4d4\n; > PlayLayer::applyCustomEnterEffect @ 0x10011d524\n; > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1001f4f50\n; > GJBaseGameLayer::processAreaRotateGroupAction @ 0x1001f533c\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f57ac\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f58d4\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, 0x1001e2d88\nB.EQ            locret_1001E2DE0                                       ; +0x4, 0x1001e2d8c\nCMN             W2, #2                                                 ; +0x8, 0x1001e2d90\nB.NE            loc_1001E2DA0                                          ; +0xc, 0x1001e2d94\nMOV             X0, X1                                                 ; +0x10, 0x1001e2d98\nB               GameToolbox__getEasedValue                             ; +0x14, 0x1001e2d9c\nMOV             W8, #0x42C80000                                        ; +0x18, 0x1001e2da0\nFMOV            S1, W8                                                 ; +0x1c, 0x1001e2da4\nFMUL            S2, S0, S1                                             ; +0x20, 0x1001e2da8\nFCVTZS          W8, S2                                                 ; +0x24, 0x1001e2dac\nADD             W8, W8, W2                                             ; +0x28, 0x1001e2db0\nLDR             X9, [X0,#0x2EF8]                                       ; +0x2c, 0x1001e2db4\nADD             X8, X9, W8,SXTW#2                                      ; +0x30, 0x1001e2db8\nLDP             S3, S4, [X8]                                           ; +0x34, 0x1001e2dbc\nFSUB            S4, S4, S3                                             ; +0x38, 0x1001e2dc0\nFCVTZS          S2, S2                                                 ; +0x3c, 0x1001e2dc4\nSCVTF           S2, S2                                                 ; +0x40, 0x1001e2dc8\nADRP            X8, #dword_10063A1E8@PAGE                              ; +0x44, 0x1001e2dcc\nLDR             S5, [X8,#dword_10063A1E8@PAGEOFF]                      ; +0x48, 0x1001e2dd0\nFMADD           S0, S2, S5, S0                                         ; +0x4c, 0x1001e2dd4\nFMUL            S0, S0, S4                                             ; +0x50, 0x1001e2dd8\nFMADD           S0, S0, S1, S3                                         ; +0x54, 0x1001e2ddc\nRET                                                                    ; +0x58, 0x1001e2de0", "xrefs": ["EnterEffectInstance::updateTransitions @ 0x10004bfa8", "PlayLayer::applyCustomEnterEffect @ 0x10011d3b8", "PlayLayer::applyCustomEnterEffect @ 0x10011d418", "PlayLayer::applyCustomEnterEffect @ 0x10011d468", "PlayLayer::applyCustomEnterEffect @ 0x10011d4d4", "PlayLayer::applyCustomEnterEffect @ 0x10011d524", "GJBaseGameLayer::processAreaTransformGroupAction @ 0x1001f4f50", "GJBaseGameLayer::processAreaRotateGroupAction @ 0x1001f533c", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f57ac", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f58d4"], "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"}