// // LevelEditorLayer::getLastObjectX from 0x461e80 to 0x461ed4 (84 bytes) // // 2 xrefs: // > LevelEditorLayer::updateLevelSaveInfo @ 0x47089e // > EditorPauseLayer::init @ 0x5098fc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:53 +0000 // int __fastcall LevelEditorLayer::getLastObjectX(LevelEditorLayer *this) { unsigned int v1; // r4 float v2; // s16 cocos2d::CCArray *AllObjects; // r6 int v4; // r5 v1 = 0; v2 = 0.0; AllObjects = (cocos2d::CCArray *)LevelEditorLayer::getAllObjects(this); while ( v1 < cocos2d::CCArray::count(AllObjects) ) { v4 = cocos2d::CCArray::objectAtIndex(AllObjects, v1); if ( *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4) > v2 ) v2 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4); ++v1; } return LODWORD(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source