// // EndLevelLayer::getEndText from 0x1002f7154 to 0x1002f7218 (196 bytes) // // 1 xrefs: // > EndLevelLayer::customSetup @ 0x1002f6208 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // const char *__fastcall EndLevelLayer::getEndText(EndLevelLayer *a1) { GameManager *v1; // x0 bool GameVariable; // w19 int v3; // w0 unsigned int v4; // w8 char **v5; // x9 v1 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v1, "0095"); v3 = rand(); if ( GameVariable ) { v4 = ~(100 * (v3 / 100)) + v3; if ( v4 < 0x63 ) { v5 = off_1007E9760; return v5[v4]; } return "DROP THE BEAT"; } else { v4 = v3 % 18 - 2; if ( v4 < 0x10 ) { v5 = off_1007E96E0; return v5[v4]; } return "Awesome!"; } }