// // LevelEditorLayer::sortBatchnodeChildren from 0x1000eaa50 to 0x1000eaa9b (75 bytes) // // 0 xrefs: // // 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 LevelEditorLayer::sortBatchnodeChildren(LevelEditorLayer *a1, float a2) { cocos2d::CCArray *m_batchNodes; // rax cocos2d::ccArray *data; // rax cocos2d::CCSpriteBatchNode **arr; // rbx unsigned __int64 v5; // r14 m_batchNodes = a1->m_batchNodes; if ( m_batchNodes ) { data = m_batchNodes->data; if ( data->num ) { arr = (cocos2d::CCSpriteBatchNode **)data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { if ( !*arr ) break; cocos2d::CCSpriteBatchNode::manualSortAllChildren(*arr++); } while ( (unsigned __int64)arr <= v5 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source