// // GJBaseGameLayer::positionForShaderTarget from 0x14032b1f0 to 0x14032b296 (166 bytes) // // 8 xrefs: // > GJBaseGameLayer::updateShaderLayer @ 0x14032a1ab // > GJBaseGameLayer::updateShaderLayer @ 0x14032a1e7 // > GJBaseGameLayer::updateShaderLayer @ 0x14032a21b // > GJBaseGameLayer::updateShaderLayer @ 0x14032a247 // > GJBaseGameLayer::updateShaderLayer @ 0x14032a29a // > GJBaseGameLayer::updateShaderLayer @ 0x14032a2ed // > GJBaseGameLayer::updateShaderLayer @ 0x14032a320 // > @ 0x14091f148 // // 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 11:30:29 +0000 // cocos2d::CCPoint *__fastcall GJBaseGameLayer::positionForShaderTarget( __int64 a1, cocos2d::CCPoint *a2, unsigned int a3) { __int64 v6; // rcx __int64 MainObject; // rax __int64 v8; // rax char v10; // [rsp+38h] [rbp+10h] BYREF char v11; // [rsp+48h] [rbp+20h] BYREF cocos2d::CCPoint::CCPoint(a2); if ( a3 == -1 ) goto LABEL_8; if ( a3 == -2 ) { if ( *(_BYTE *)(a1 + 1058) ) { v6 = *(_QWORD *)(a1 + 3520); LABEL_9: v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 200LL))(v6); goto LABEL_10; } LABEL_8: v6 = *(_QWORD *)(a1 + 3512); goto LABEL_9; } MainObject = GJBaseGameLayer::tryGetMainObject(a1, a3); if ( MainObject ) v8 = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)MainObject + 1208LL))(MainObject, &v10); else cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, (const struct cocos2d::CCPoint *)&dword_14090AA70); LABEL_10: cocos2d::CCPoint::operator=(a2, v8); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source