// // EndLevelLayer::getEndText from 0x1004bad90 to 0x1004bae3d (173 bytes) // // 1 xrefs: // > EndLevelLayer::customSetup @ 0x1004b9a88 // // 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:31:03 +0000 // const char *EndLevelLayer::getEndText() { __int64 v0; // rax char GameVariable; // bl int v2; // eax unsigned int v3; // ecx __int64 v4; // rax char **v5; // rcx v0 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v0, "0095"); v2 = rand(); if ( GameVariable ) { v3 = v2 + ~(100 * (v2 / 100)); if ( v3 < 0x63 ) { v4 = v3; v5 = off_100B5A6B0; return v5[v4]; } return "DROP THE BEAT"; } else { LODWORD(v4) = v2 % 18 - 2; if ( (unsigned int)v4 < 0x10 ) { v4 = (unsigned int)v4; v5 = off_100B5A630; return v5[v4]; } return "Awesome!"; } }