// // GJBaseGameLayer::applyLevelSettings from 0x9a8dc4 to 0x9a8e28 (100 bytes) // // 3 xrefs: // > LevelEditorLayer::addSpecial @ 0x7a05fc // > GJBaseGameLayer::loadLevelSettings @ 0x9a8f2c // > @ 0xa6ae0 // // This function is hookable on this platform (idp: arm, 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:58:11 +0000 // __int64 __fastcall GJBaseGameLayer::applyLevelSettings(GJBaseGameLayer *this, GameObject *a2) { __int64 result; // x0 char canRotateFree; // w0 GameObject *v5; // [xsp+28h] [xbp+28h] if ( *((_BYTE *)this + 1980) ) { *((_BYTE *)a2 + 868) = 1; } else { v5 = a2; canRotateFree = GameObject::canRotateFree(a2); a2 = v5; *((_BYTE *)v5 + 868) = canRotateFree; } result = *((unsigned __int8 *)this + 1981); if ( *((unsigned __int8 *)a2 + 869) != (_DWORD)result ) { *((_BYTE *)a2 + 864) = 1; result = *((unsigned __int8 *)this + 1981); } *((_BYTE *)a2 + 869) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source