{"type": "func", "start": 4301175232, "end": 4301175411, "name": "GJGroundLayer::updateShadowXPos", "pseudocode": "// \n// GJGroundLayer::updateShadowXPos from 0x1005eb9c0 to 0x1005eba73 (179 bytes)\n// \n// 6 xrefs:\n// > GJBaseGameLayer::updateGroundShadows @ 0x100115381\n// > GJBaseGameLayer::updateGroundShadows @ 0x1001153a0\n// > GJBaseGameLayer::preUpdateVisibility @ 0x10014f826\n// > GJBaseGameLayer::preUpdateVisibility @ 0x10014f844\n// > GJBaseGameLayer::resetLevelVariables @ 0x100159832\n// > GJBaseGameLayer::resetLevelVariables @ 0x100159850\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 GJGroundLayer::updateShadowXPos(GJGroundLayer *a1, float a2, float a3)\n{\n  __int64 v3; // rax\n  __int64 v4; // r14\n  __int64 v5; // rax\n  __int64 v6; // rbx\n  float v7; // [rsp+8h] [rbp-28h] BYREF\n  float v8; // [rsp+10h] [rbp-20h]\n  float v9; // [rsp+14h] [rbp-1Ch]\n\n  v8 = a3;\n  v9 = a2;\n  ((void (__fastcall *)(GJGroundLayer *))a1->getScaleX)(a1);\n  v3 = ((__int64 (__fastcall *)(GJGroundLayer *, _QWORD))a1->getChildByTag)(a1, 0);\n  if ( v3 )\n  {\n    v4 = v3;\n    sub_10028CBE0(&v7, v9 + -1.0, 0.0);\n    (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v7);\n  }\n  v5 = ((__int64 (__fastcall *)(GJGroundLayer *, __int64))a1->getChildByTag)(a1, 1);\n  if ( v5 )\n  {\n    v6 = v5;\n    sub_10028CBE0(&v7, v8 + 1.0, 0.0);\n    (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, &v7);\n  }\n}", "assembly": "; \n; GJGroundLayer::updateShadowXPos from 0x1005eb9c0 to 0x1005eba73 (179 bytes)\n; \n; 6 xrefs:\n; > GJBaseGameLayer::updateGroundShadows @ 0x100115381\n; > GJBaseGameLayer::updateGroundShadows @ 0x1001153a0\n; > GJBaseGameLayer::preUpdateVisibility @ 0x10014f826\n; > GJBaseGameLayer::preUpdateVisibility @ 0x10014f844\n; > GJBaseGameLayer::resetLevelVariables @ 0x100159832\n; > GJBaseGameLayer::resetLevelVariables @ 0x100159850\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, 0x1005eb9c0\nmov     rbp, rsp                                                       ; +0x1, 0x1005eb9c1\npush    r15                                                            ; +0x4, 0x1005eb9c4\npush    r14                                                            ; +0x6, 0x1005eb9c6\npush    rbx                                                            ; +0x8, 0x1005eb9c8\nsub     rsp, 18h                                                       ; +0x9, 0x1005eb9c9\nmovss   [rbp+var_20], xmm1                                             ; +0xd, 0x1005eb9cd\nmovss   [rbp+var_1C], xmm0                                             ; +0x12, 0x1005eb9d2\nmov     rbx, rdi                                                       ; +0x17, 0x1005eb9d7\nmov     rax, [rdi]                                                     ; +0x1a, 0x1005eb9da\ncall    qword ptr [rax+88h]                                            ; +0x1d, 0x1005eb9dd\nmov     rax, [rbx]                                                     ; +0x23, 0x1005eb9e3\nmov     rdi, rbx                                                       ; +0x26, 0x1005eb9e6\nxor     esi, esi                                                       ; +0x29, 0x1005eb9e9\ncall    qword ptr [rax+1D0h]                                           ; +0x2b, 0x1005eb9eb\ntest    rax, rax                                                       ; +0x31, 0x1005eb9f1\njz      short loc_1005EBA24                                            ; +0x34, 0x1005eb9f4\nmov     r14, rax                                                       ; +0x36, 0x1005eb9f6\nmovss   xmm0, [rbp+var_1C]                                             ; +0x39, 0x1005eb9f9\naddss   xmm0, cs:dword_100815094                                       ; +0x3e, 0x1005eb9fe\nlea     r15, [rbp+var_28]                                              ; +0x46, 0x1005eba06\nxorps   xmm1, xmm1                                                     ; +0x4a, 0x1005eba0a\nmov     rdi, r15                                                       ; +0x4d, 0x1005eba0d\ncall    sub_10028CBE0                                                  ; +0x50, 0x1005eba10\nmov     rax, [r14]                                                     ; +0x55, 0x1005eba15\nmov     rdi, r14                                                       ; +0x58, 0x1005eba18\nmov     rsi, r15                                                       ; +0x5b, 0x1005eba1b\ncall    qword ptr [rax+0B8h]                                           ; +0x5e, 0x1005eba1e\nmov     rax, [rbx]                                                     ; +0x64, 0x1005eba24\nmov     rdi, rbx                                                       ; +0x67, 0x1005eba27\nmov     esi, 1                                                         ; +0x6a, 0x1005eba2a\ncall    qword ptr [rax+1D0h]                                           ; +0x6f, 0x1005eba2f\ntest    rax, rax                                                       ; +0x75, 0x1005eba35\njz      short loc_1005EBA68                                            ; +0x78, 0x1005eba38\nmov     rbx, rax                                                       ; +0x7a, 0x1005eba3a\nmovss   xmm0, [rbp+var_20]                                             ; +0x7d, 0x1005eba3d\naddss   xmm0, cs:alpha                                                 ; +0x82, 0x1005eba42\nlea     r14, [rbp+var_28]                                              ; +0x8a, 0x1005eba4a\nxorps   xmm1, xmm1                                                     ; +0x8e, 0x1005eba4e\nmov     rdi, r14                                                       ; +0x91, 0x1005eba51\ncall    sub_10028CBE0                                                  ; +0x94, 0x1005eba54\nmov     rax, [rbx]                                                     ; +0x99, 0x1005eba59\nmov     rdi, rbx                                                       ; +0x9c, 0x1005eba5c\nmov     rsi, r14                                                       ; +0x9f, 0x1005eba5f\ncall    qword ptr [rax+0B8h]                                           ; +0xa2, 0x1005eba62\nadd     rsp, 18h                                                       ; +0xa8, 0x1005eba68\npop     rbx                                                            ; +0xac, 0x1005eba6c\npop     r14                                                            ; +0xad, 0x1005eba6d\npop     r15                                                            ; +0xaf, 0x1005eba6f\npop     rbp                                                            ; +0xb1, 0x1005eba71\nretn                                                                   ; +0xb2, 0x1005eba72", "xrefs": ["GJBaseGameLayer::updateGroundShadows @ 0x100115381", "GJBaseGameLayer::updateGroundShadows @ 0x1001153a0", "GJBaseGameLayer::preUpdateVisibility @ 0x10014f826", "GJBaseGameLayer::preUpdateVisibility @ 0x10014f844", "GJBaseGameLayer::resetLevelVariables @ 0x100159832", "GJBaseGameLayer::resetLevelVariables @ 0x100159850"], "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"}