// // PlayerObject::resetTouchedRings from 0x75db9c to 0x75dca8 (268 bytes) // // 4 xrefs: // > PlayerObject::resetObject @ 0x75de0c // > GJBaseGameLayer::update @ 0x9eda50 // > GJBaseGameLayer::update @ 0x9ede34 // > @ 0x1021a8 // // This function is hookable on this platform (idp: arm, 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:53:02 +0000 // __int64 __fastcall PlayerObject::resetTouchedRings(cocos2d::CCArray **this, char a2) { unsigned int v3; // w19 _QWORD *v4; // x0 _QWORD *v5; // x19 __int64 v6; // x1 __int64 v7; // x0 int v9; // [xsp+44h] [xbp+44h] BYREF v3 = 0; if ( a2 ) { cocos2d::CCArray::removeAllObjects(*(this + 318)); } else { while ( v3 < (unsigned int)cocos2d::CCArray::count(*(this + 318)) ) { v9 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*(this + 318), v3) + 916); if ( std::__hash_table,std::equal_to,std::allocator>::find(this + 319, &v9) ) ++v3; else cocos2d::CCArray::removeObjectAtIndex(*(this + 318), v3, 1); } } if ( *(this + 322) ) { v4 = *(this + 321); if ( v4 ) { do { v5 = (_QWORD *)*v4; operator delete(v4); v4 = v5; } while ( v5 ); } v6 = (__int64)*(this + 320); v7 = 0; *(this + 321) = nullptr; if ( v6 ) { do *((_QWORD *)*(this + 319) + v7++) = 0; while ( v7 != v6 ); } *(this + 322) = nullptr; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source