// // PlayLayer::scanActiveSaveObjects from 0x100117a74 to 0x100117b58 (228 bytes) // // 1 xrefs: // > PlayLayer::setupHasCompleted @ 0x100116920 // // 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 __fastcall PlayLayer::scanActiveSaveObjects(PlayLayer *a1) { cocos2d::CCArray *m_objects; // x8 cocos2d::ccArray *data; // x9 __int64 num; // x8 cocos2d::CCObject **arr; // x21 unsigned __int64 v6; // x22 cocos2d::CCObject *v7; // x20 cocos2d::CCObject *v8; // [xsp+8h] [xbp-48h] BYREF m_objects = a1->m_objects; if ( m_objects ) { data = m_objects->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; v6 = (unsigned __int64)&arr[num - 1]; do { v7 = *arr; if ( !*arr ) break; if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))v7->__vftable[20].~CCObject_0)(*arr) ) { if ( (((__int64 (__fastcall *)(cocos2d::CCObject *, bool))v7->__vftable[21].encodeWithCoder)( v7, a1->m_isPlatformer) & 1) == 0 ) { v8 = v7; sub_1000115B8((__int64)&a1->m_activeSaveObjects1, &v8); } } else if ( v7[22].m_nTag == 2 && LOBYTE(v7[27].m_uID) == 1 ) { v8 = v7; sub_1000115B8((__int64)&a1->m_activeSaveObjects2, &v8); } ++arr; } while ( (unsigned __int64)arr <= v6 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source