// // FindBPMLayer::registerTouch from 0x309c9c to 0x309d1a (126 bytes) // // 0 xrefs: // // 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 // void FindBPMLayer::registerTouch(FindBPMLayer *a1) { int v2; // r2 cocos2d::CCLabelBMFont *m_bpmLabel; // r7 void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r8 FindBPMLayer *v5; // [sp+0h] [bp-8h] BYREF v5 = a1; v2 = a1->m_beats + 1; a1->m_beats = v2; if ( v2 > 1 ) { FindBPMLayer::calculateBPM(a1); m_bpmLabel = a1->m_bpmLabel; setString = m_bpmLabel->setString; GameToolbox::intToString((GameToolbox *)&v5, a1->m_beatsPerMinute); setString(m_bpmLabel, (const unsigned __int8 *)v5); sub_774008(&v5); } else { a1->m_startOffset = a1->m_elapsed; a1->m_bpmLabel->setString(a1->m_bpmLabel, "0"); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source