// // cocos2d::CCArray::lastObject from 0x180007270 to 0x180007289 (25 bytes) // // 21 xrefs: // > cocos2d::CCKeyboardDispatcher::dispatchToTopDelegate @ 0x1800463d0 // > cocos2d::CCSpriteBatchNode::atlasIndexForChild @ 0x180091420 // > cocos2d::CCSpriteBatchNode::highestAtlasIndexInChild @ 0x180091710 // > cocos2d::CCTMXMapInfo::endElement @ 0x1800b2abf // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b44c2 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4982 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b4db4 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b520f // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5362 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5449 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b545d // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b55f9 // > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5610 // > cocos2d::CCDirector::checkSceneReference @ 0x1800c1967 // > cocos2d::CCDirector::popScene @ 0x1800c23d7 // > cocos2d::CCDirector::popSceneWithTransition @ 0x1800c2481 // > cocos2d::CCDirector::popToSceneStackLevel @ 0x1800c25f7 // > cocos2d::CCDirector::popToSceneStackLevel @ 0x1800c2649 // > cocos2d::CCDirector::popToSceneStackLevel @ 0x1800c267d // > cocos2d::CCDirector::replaceScene @ 0x1800c2a02 // > @ 0x18014cf68 // // This function is hookable on this platform (idp: pc, 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 11:21:18 +0000 // struct cocos2d::CCObject *__fastcall cocos2d::CCArray::lastObject(cocos2d::CCArray *this) { __int64 v1; // rdx v1 = *((_QWORD *)this + 7); if ( *(_DWORD *)v1 ) return *(struct cocos2d::CCObject **)(*(_QWORD *)(v1 + 16) + 8LL * (unsigned int)(*(_DWORD *)v1 - 1)); else return nullptr; }