{"type": "func", "start": 4669616, "end": 4669780, "name": "GJBaseGameLayer::getEasedAreaValue", "pseudocode": "// \n// GJBaseGameLayer::getEasedAreaValue from 0x4740b0 to 0x474154 (164 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x47d574\n// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x47da5a\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dcca\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dd78\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::getEasedAreaValue(\n        GJBaseGameLayer *a1,\n        GameObject *a2,\n        EnterEffectInstance *a3,\n        float a4,\n        bool a5,\n        int a6)\n{\n  EnterEffectObject *m_gameObject; // r3\n  GJBaseGameLayer *v8; // r4\n  _BOOL4 v9; // r1\n  int *m_start; // r0\n  int m_easeIndex; // r2\n  int v12; // r6\n  float *p_m_easingInRate; // r5\n  float v14; // r1\n  int m_easingInType; // r2\n  float m_easingInRate; // r3\n  int m_easingInBuffer; // [sp+14h] [bp+14h]\n\n  m_gameObject = a3->m_gameObject;\n  v8 = a1;\n  v9 = a5;\n  if ( m_gameObject->m_easeOutEnabled )\n  {\n    if ( a4 > 0.01 && a4 < 0.99 )\n    {\n      m_start = a3->m_easeIndices.m_start;\n      m_easeIndex = a3->m_easeIndex;\n      v12 = m_start[a6];\n      if ( v12 == m_easeIndex - 2 )\n      {\n        v9 = 0;\n      }\n      else if ( v12 == m_easeIndex - 1 )\n      {\n        v9 = 1;\n      }\n      m_start[a6] = m_easeIndex + v9;\n    }\n    if ( v9 )\n    {\n      p_m_easingInRate = &m_gameObject->m_easingInRate;\n      a1 = v8;\n      v14 = a4;\n      m_easingInBuffer = m_gameObject->m_easingInBuffer;\n      m_easingInType = m_gameObject->m_easingInType;\n    }\n    else\n    {\n      v14 = a4;\n      p_m_easingInRate = &m_gameObject->m_easingOutRate;\n      a1 = v8;\n      m_easingInBuffer = m_gameObject->m_easingOutBuffer;\n      m_easingInType = m_gameObject->m_easingOutType;\n    }\n    m_easingInRate = *p_m_easingInRate;\n  }\n  else\n  {\n    v14 = a4;\n    m_easingInBuffer = m_gameObject->m_easingInBuffer;\n    m_easingInType = m_gameObject->m_easingInType;\n    m_easingInRate = m_gameObject->m_easingInRate;\n  }\n  return GJBaseGameLayer::getEnterEasingValue(a1, v14, m_easingInType, m_easingInRate, m_easingInBuffer);\n}", "assembly": "; \n; GJBaseGameLayer::getEasedAreaValue from 0x4740b0 to 0x474154 (164 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::processAreaTransformGroupAction @ 0x47d574\n; > GJBaseGameLayer::processAreaRotateGroupAction @ 0x47da5a\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dcca\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dd78\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\nVMOV            S15, R3                                                ; +0x0, 0x4740b0\nLDR.W           R3, [R2,#0xA4]                                         ; +0x4, 0x4740b4\nPUSH            {R4-R7,LR}                                             ; +0x8, 0x4740b8\nMOV             R4, R0                                                 ; +0xa, 0x4740ba\nLDRB.W          R6, [R3,#0x6E9]                                        ; +0xc, 0x4740bc\nLDRB.W          R1, [SP,#arg_0]                                        ; +0x10, 0x4740c0\nLDR             R5, [SP,#arg_4]                                        ; +0x14, 0x4740c4\nCBZ             R6, loc_474138                                         ; +0x16, 0x4740c6\nVLDR            S14, =0.01                                             ; +0x18, 0x4740c8\nVCMPE.F32       S15, S14                                               ; +0x1c, 0x4740cc\nVMRS            APSR_nzcv, FPSCR                                       ; +0x20, 0x4740d0\nBLE             loc_474108                                             ; +0x24, 0x4740d4\nVLDR            S14, =0.99                                             ; +0x26, 0x4740d6\nVCMPE.F32       S15, S14                                               ; +0x2a, 0x4740da\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2e, 0x4740de\nBPL             loc_474108                                             ; +0x32, 0x4740e2\nLDR.W           R0, [R2,#0xC4]                                         ; +0x34, 0x4740e4\nLDR.W           R2, [R2,#0xB8]                                         ; +0x38, 0x4740e8\nLDR.W           R6, [R0,R5,LSL#2]                                      ; +0x3c, 0x4740ec\nSUBS            R7, R2, #2                                             ; +0x40, 0x4740f0\nCMP             R6, R7                                                 ; +0x42, 0x4740f2\nBEQ             loc_474100                                             ; +0x44, 0x4740f4\nSUBS            R7, R2, #1                                             ; +0x46, 0x4740f6\nCMP             R6, R7                                                 ; +0x48, 0x4740f8\nIT EQ                                                                  ; +0x4a, 0x4740fa\nMOVEQ           R1, #1                                                 ; +0x4c, 0x4740fc\nB               loc_474102                                             ; +0x4e, 0x4740fe\nMOVS            R1, #0                                                 ; +0x50, 0x474100\nADD             R2, R1                                                 ; +0x52, 0x474102\nSTR.W           R2, [R0,R5,LSL#2]                                      ; +0x54, 0x474104\nCBZ             R1, loc_474120                                         ; +0x58, 0x474108\nLDR.W           R2, [R3,#0x6BC]                                        ; +0x5a, 0x47410a\nADD.W           R5, R3, #0x6B8                                         ; +0x5e, 0x47410e\nMOV             R0, R4                                                 ; +0x62, 0x474112\nVMOV            R1, S15                                                ; +0x64, 0x474114\nSTR             R2, [SP,#arg_0]                                        ; +0x68, 0x474118\nLDR.W           R2, [R3,#0x6B4]                                        ; +0x6a, 0x47411a\nB               loc_474134                                             ; +0x6e, 0x47411e\nVMOV            R1, S15                                                ; +0x70, 0x474120\nADDW            R5, R3, #0x6C4                                         ; +0x74, 0x474124\nLDR.W           R2, [R3,#0x6C8]                                        ; +0x78, 0x474128\nMOV             R0, R4; this                                           ; +0x7c, 0x47412c\nSTR             R2, [SP,#arg_0]                                        ; +0x7e, 0x47412e\nLDR.W           R2, [R3,#0x6C0]                                        ; +0x80, 0x474130\nLDR             R3, [R5]                                               ; +0x84, 0x474134\nB               loc_47414C                                             ; +0x86, 0x474136\nVMOV            R1, S15; float                                         ; +0x88, 0x474138\nADD.W           R4, R3, #0x6B8                                         ; +0x8c, 0x47413c\nLDR.W           R2, [R3,#0x6BC]                                        ; +0x90, 0x474140\nSTR             R2, [SP,#arg_0]; int                                   ; +0x94, 0x474144\nLDR.W           R2, [R3,#0x6B4]; float                                 ; +0x96, 0x474146\nLDR             R3, [R4]; float                                        ; +0x9a, 0x47414a\nPOP.W           {R4-R7,LR}                                             ; +0x9c, 0x47414c\nB.W             _ZN15GJBaseGameLayer19getEnterEasingValueEfifi; GJBaseGameLayer::getEnterEasingValue(float,int,float,int) ; +0xa0, 0x474150", "xrefs": ["GJBaseGameLayer::processAreaTransformGroupAction @ 0x47d574", "GJBaseGameLayer::processAreaRotateGroupAction @ 0x47da5a", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dcca", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dd78"], "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"}