// // GJBaseGameLayer::countCollectedUserCoins from 0x1001e9c08 to 0x1001e9c64 (92 bytes) // // 1 xrefs: // > PlayLayer::levelComplete @ 0x100119da4 // // 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 // int __fastcall GJBaseGameLayer::countCollectedUserCoins(GJBaseGameLayer *a1) { cocos2d::CCDictionary *m_collectedItems; // x8 cocos2d::CCDictElement *m_pElements; // x8 int v3; // w19 cocos2d::CCDictElement *next; // x20 m_collectedItems = a1->m_collectedItems; if ( !m_collectedItems ) return 0; m_pElements = m_collectedItems->m_pElements; if ( !m_pElements ) return 0; v3 = 0; do { next = (cocos2d::CCDictElement *)m_pElements->hh.next; if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))m_pElements->m_pObject->__vftable[22].isEqual)(m_pElements->m_pObject) == 31 ) ++v3; m_pElements = next; } while ( next ); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source