{"type": "func", "start": 4296392688, "end": 4296392905, "name": "GJBaseGameLayer::animatePortalY", "pseudocode": "// \n// GJBaseGameLayer::animatePortalY from 0x10015bff0 to 0x10015c0c9 (217 bytes)\n// \n// 0 xrefs:\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 GJBaseGameLayer::animatePortalY(GJBaseGameLayer *a1, float a2, float a3, float a4, float a5)\n{\n  int v5[3]; // [rsp+4h] [rbp-4Ch] BYREF\n  __int64 v6; // [rsp+10h] [rbp-40h]\n  int v7; // [rsp+18h] [rbp-38h]\n  float v8; // [rsp+1Ch] [rbp-34h]\n  __int16 v9; // [rsp+20h] [rbp-30h]\n  __int64 v10; // [rsp+24h] [rbp-2Ch]\n  int v11; // [rsp+2Ch] [rbp-24h] BYREF\n  float v12; // [rsp+30h] [rbp-20h]\n  float v13; // [rsp+34h] [rbp-1Ch]\n  float v14; // [rsp+38h] [rbp-18h]\n  float v15; // [rsp+3Ch] [rbp-14h]\n\n  if ( a2 == a3 )\n  {\n    a1->m_gameState.m_portalY = a2;\n  }\n  else\n  {\n    a1->m_gameState.m_portalY = a2;\n    v11 = 9;\n    v5[0] = 9;\n    v12 = a5;\n    v13 = a4;\n    v14 = a3;\n    v15 = a2;\n    sub_1000569A0(&a1->m_gameState.m_tweenActions.__table_.__bucket_list_.__ptr_.__value_, v5);\n    v6 = 0;\n    v9 = 0;\n    *(float *)v5 = v15;\n    *(float *)&v5[1] = v14;\n    *(float *)&v5[2] = v13;\n    v7 = 1;\n    v8 = v12;\n    v10 = -1;\n    sub_100165AA0(&a1->m_gameState.m_tweenActions, &v11, &v11, v5);\n    if ( a1->m_gameState.m_cameraZoom != a1->m_gameState.m_targetCameraZoom )\n      a1->m_gameState.m_unkBool6 = 1;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::animatePortalY from 0x10015bff0 to 0x10015c0c9 (217 bytes)\n; \n; 0 xrefs:\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, 0x10015bff0\nmov     rbp, rsp                                                       ; +0x1, 0x10015bff1\npush    r14                                                            ; +0x4, 0x10015bff4\npush    rbx                                                            ; +0x6, 0x10015bff6\nsub     rsp, 40h                                                       ; +0x7, 0x10015bff7\nmov     rbx, rdi                                                       ; +0xb, 0x10015bffb\nucomiss xmm0, xmm1                                                     ; +0xe, 0x10015bffe\njnz     short loc_10015C012                                            ; +0x11, 0x10015c001\njp      short loc_10015C012                                            ; +0x13, 0x10015c003\nmovss   dword ptr [rbx+2F8h], xmm0                                     ; +0x15, 0x10015c005\njmp     loc_10015C0C0                                                  ; +0x1d, 0x10015c00d\nmovss   dword ptr [rbx+2F8h], xmm0                                     ; +0x22, 0x10015c012\nmov     [rbp+var_24], 9                                                ; +0x2a, 0x10015c01a\nmov     [rbp+var_4C], 9                                                ; +0x31, 0x10015c021\nlea     r14, [rbx+3F8h]                                                ; +0x38, 0x10015c028\nlea     rsi, [rbp+var_4C]                                              ; +0x3f, 0x10015c02f\nmov     rdi, r14                                                       ; +0x43, 0x10015c033\nmovss   [rbp+var_20], xmm3                                             ; +0x46, 0x10015c036\nmovss   [rbp+var_1C], xmm2                                             ; +0x4b, 0x10015c03b\nmovss   [rbp+var_18], xmm1                                             ; +0x50, 0x10015c040\nmovss   [rbp+var_14], xmm0                                             ; +0x55, 0x10015c045\ncall    sub_1000569A0                                                  ; +0x5a, 0x10015c04a\nxorps   xmm0, xmm0                                                     ; +0x5f, 0x10015c04f\nmovups  [rbp+var_40], xmm0                                             ; +0x62, 0x10015c052\nmov     [rbp+var_30], 0                                                ; +0x66, 0x10015c056\nmovss   xmm0, [rbp+var_14]                                             ; +0x6c, 0x10015c05c\nmovss   [rbp+var_4C], xmm0                                             ; +0x71, 0x10015c061\nmovss   xmm0, [rbp+var_18]                                             ; +0x76, 0x10015c066\nmovss   [rbp+var_48], xmm0                                             ; +0x7b, 0x10015c06b\nmovss   xmm0, [rbp+var_1C]                                             ; +0x80, 0x10015c070\nmovss   [rbp+var_44], xmm0                                             ; +0x85, 0x10015c075\nmov     dword ptr [rbp+var_40+8], 1                                    ; +0x8a, 0x10015c07a\nmovss   xmm0, [rbp+var_20]                                             ; +0x91, 0x10015c081\nmovss   dword ptr [rbp+var_40+0Ch], xmm0                               ; +0x96, 0x10015c086\nmov     [rbp+var_2C], 0FFFFFFFFFFFFFFFFh                               ; +0x9b, 0x10015c08b\nlea     rdx, [rbp+var_24]                                              ; +0xa3, 0x10015c093\nlea     rcx, [rbp+var_4C]                                              ; +0xa7, 0x10015c097\nmov     rdi, r14                                                       ; +0xab, 0x10015c09b\nmov     rsi, rdx                                                       ; +0xae, 0x10015c09e\ncall    sub_100165AA0                                                  ; +0xb1, 0x10015c0a1\nmovss   xmm0, dword ptr [rbx+1A8h]                                     ; +0xb6, 0x10015c0a6\nucomiss xmm0, dword ptr [rbx+1ACh]                                     ; +0xbe, 0x10015c0ae\njnz     short loc_10015C0B9                                            ; +0xc5, 0x10015c0b5\njnp     short loc_10015C0C0                                            ; +0xc7, 0x10015c0b7\nmov     byte ptr [rbx+2FCh], 1                                         ; +0xc9, 0x10015c0b9\nadd     rsp, 40h                                                       ; +0xd0, 0x10015c0c0\npop     rbx                                                            ; +0xd4, 0x10015c0c4\npop     r14                                                            ; +0xd5, 0x10015c0c5\npop     rbp                                                            ; +0xd7, 0x10015c0c7\nretn                                                                   ; +0xd8, 0x10015c0c8", "xrefs": [], "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"}