// // GJBaseGameLayer::speedForShaderTarget from 0x100119a10 to 0x100119b22 (274 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateShaderLayer @ 0x100118c0d // > GJBaseGameLayer::updateShaderLayer @ 0x100118c34 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:24:35 +0000 // __int64 __fastcall GJBaseGameLayer::speedForShaderTarget(__int64 a1, __int64 a2, int a3) { __int64 v4; // rbx __int64 v5; // r15 __int64 v6; // rdi __int64 LastPosition; // rax __int64 MainObject; // rax __int64 v9; // r15 __int64 v10; // rax _BYTE v12[8]; // [rsp+8h] [rbp-28h] BYREF _BYTE v13[32]; // [rsp+10h] [rbp-20h] BYREF v4 = a1; sub_1002782A0(a1); if ( a3 == -1 ) goto LABEL_5; if ( a3 == -2 ) { if ( *(_BYTE *)(a2 + 1010) ) { v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a2 + 3264) + 192LL))(*(_QWORD *)(a2 + 3264)); v6 = *(_QWORD *)(a2 + 3264); LABEL_6: LastPosition = GameObject::getLastPosition(v6); sub_100278370(v13, v5, LastPosition); a1 = v4; goto LABEL_12; } LABEL_5: v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a2 + 3256) + 192LL))(*(_QWORD *)(a2 + 3256)); v6 = *(_QWORD *)(a2 + 3256); goto LABEL_6; } if ( a3 <= 0 ) { sub_100278390(v13, a2 + 1148); } else { MainObject = GJBaseGameLayer::tryGetMainObject((_QWORD *)a2, a3); if ( MainObject ) { v9 = MainObject; (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)MainObject + 1360LL))(v12, MainObject); v10 = GameObject::getLastPosition(v9); sub_100278370(v13, v12, v10); } else { sub_1002782D0(v13, &qword_100BE1268); } } LABEL_12: sub_100278300(a1, v13); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source