// // GJBaseGameLayer::updateMaxGameplayY from 0x10029ed7c to 0x10029ee50 (212 bytes) // // 2 xrefs: // > PlayLayer::createObjectsFromSetupFinished @ 0x100145268 // > LevelEditorLayer::onPlaytest @ 0x1004046d8 // // 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 11:02:11 +0000 // __int64 __fastcall GJBaseGameLayer::updateMaxGameplayY(__int64 a1) { __int64 result; // x0 float v3; // s8 __int64 v4; // x8 unsigned int *v5; // x9 __int64 v6; // x8 _QWORD *v7; // x21 unsigned __int64 v8; // x22 float v9; // s8 __int64 v10; // x20 result = *(_QWORD *)(a1 + 3272); v3 = 2790.0; if ( result ) { result = sub_10040E448(); if ( (_DWORD)result ) { v4 = *(_QWORD *)(a1 + 3280); v3 = 1590.0; if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((_QWORD **)v5 + 2); v8 = (unsigned __int64)&v7[v6 - 1]; v9 = 1200.0; do { v10 = *v7; if ( !*v7 ) break; result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v10 + 192LL))(*v7); if ( *(float *)(result + 4) > v9 ) { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 192LL))(v10); v9 = *(float *)(result + 4); } ++v7; } while ( (unsigned __int64)v7 <= v8 ); v3 = (float)(v9 + 90.0) + 300.0; } } } } *(float *)(a1 + 13640) = v3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source