// // GJBaseGameLayer::positionForShaderTarget from 0x100119970 to 0x100119a0b (155 bytes) // // 7 xrefs: // > GJBaseGameLayer::updateShaderLayer @ 0x100118a45 // > GJBaseGameLayer::updateShaderLayer @ 0x100118a81 // > GJBaseGameLayer::updateShaderLayer @ 0x100118ab7 // > GJBaseGameLayer::updateShaderLayer @ 0x100118ae6 // > GJBaseGameLayer::updateShaderLayer @ 0x100118b12 // > GJBaseGameLayer::updateShaderLayer @ 0x100118b3e // > GJBaseGameLayer::updateShaderLayer @ 0x100118b73 // // 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::positionForShaderTarget(__int64 a1, __int64 a2, int a3) { __int64 v3; // rax __int64 v5; // rbx __int64 v6; // rdi __int64 v7; // rax _QWORD *v8; // rsi __int64 MainObject; // rax _QWORD v11[4]; // [rsp+0h] [rbp-20h] BYREF v11[0] = v3; v5 = a1; sub_1002782A0(a1); if ( a3 == -1 ) goto LABEL_5; if ( a3 == -2 ) { if ( *(_BYTE *)(a2 + 1010) ) { v6 = *(_QWORD *)(a2 + 3264); LABEL_6: v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6); a1 = v5; v8 = (_QWORD *)v7; goto LABEL_11; } LABEL_5: v6 = *(_QWORD *)(a2 + 3256); goto LABEL_6; } MainObject = GJBaseGameLayer::tryGetMainObject((_QWORD *)a2, a3); if ( MainObject ) (*(void (__fastcall **)(_QWORD *, __int64))(*(_QWORD *)MainObject + 1360LL))(v11, MainObject); else sub_1002782D0(v11, &qword_100BE1268); v8 = v11; LABEL_11: sub_100278300(a1, v8); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source