// // LevelEditorLayer::resetMovingObjects from 0x660af4 to 0x660bc4 (208 bytes) // // 2 xrefs: // > LevelEditorLayer::onStopPlaytest @ 0x662a68 // > @ 0x50910 // // 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 LevelEditorLayer::resetMovingObjects(LevelEditorLayer *a1) { unsigned int v1; // w20 cocos2d::CCArray *AllObjects; // x21 unsigned int v4; // w1 GameObject *v5; // x19 void (__fastcall *setPosition)(GameObject *__hidden, const cocos2d::CCPoint *); // x24 __int64 v7; // [xsp+50h] [xbp+50h] BYREF v1 = 0; AllObjects = LevelEditorLayer::getAllObjects(a1); while ( v1 < (unsigned int)cocos2d::CCArray::count(AllObjects) ) { v4 = v1++; v5 = (GameObject *)cocos2d::CCArray::objectAtIndex(AllObjects, v4); GameObject::resetMoveOffset(v5); setPosition = v5->setPosition; ((void (__fastcall *)(__int64 *__return_ptr, GameObject *))v5->getRealPosition)(&v7, v5); setPosition(v5, (const cocos2d::CCPoint *)&v7); a1->updateObjectSection(a1, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source